summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/h720x-flash.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-16 20:38:27 (GMT)
committerJean Delvare <khali@linux-fr.org>2009-12-16 20:38:27 (GMT)
commitfa0bff02239abdad446effef22e5db281cf3d562 (patch)
treeb6bc68dd9e32660a73b2155ad209919040b80195 /drivers/mtd/maps/h720x-flash.c
parent3ecf44b312758d10be20539b06b2df5d77d59cdb (diff)
downloadlinux-fsl-qoriq-fa0bff02239abdad446effef22e5db281cf3d562.tar.xz
hwmon: (smsc47m1) Enable device if needed
If the address is set but the device isn't enabled, attempt to enable it. If it won't work for any reason (resource conflict, no function enabled) the initial state is restored. The initial state is also restored on module unloading. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Sean Fidler <fidlersean@gmail.com>
Diffstat (limited to 'drivers/mtd/maps/h720x-flash.c')
0 files changed, 0 insertions, 0 deletions