android_kernel_motorola_sm6225/arch/powerpc/platforms
Neelesh Gupta 8de303bae4 hwmon: (ibmpowernv) Use platform 'id_table' to probe the device
The current driver probe() function assumes the sensor device to be
always present and gets executed every time if the driver is loaded,
but the appropriate hardware could not be present.

So, move the platform device creation as part of platform init code
and use the 'id_table' to check if the device is present or not.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-11-30 20:13:13 -08:00
..
8xx
40x
44x
52xx
82xx
83xx
85xx
86xx
512x
amigaone
cell
chrp
embedded6xx
maple
pasemi
powermac
powernv hwmon: (ibmpowernv) Use platform 'id_table' to probe the device 2014-11-30 20:13:13 -08:00
ps3
pseries
fsl_uli1575.c
Kconfig
Kconfig.cputype
Makefile