summary refs log tree commit diff
path: root/lib/digsig.c
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2014-11-05 16:45:14 +0530
committerGuenter Roeck <linux@roeck-us.net>2014-11-30 20:13:13 -0800
commit8de303bae48bf907138e11042268834b1227e1e7 (patch)
treeaebed1e9b49707c35f3f1ca43611192287cf0d87 /lib/digsig.c
parent61bb53bcbdd86e0c25fbf517c48a38f66c6fc0bc (diff)
downloadlinux-8de303bae48bf907138e11042268834b1227e1e7.tar.gz
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>
Diffstat (limited to 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions