]> git.baikalelectronics.ru Git - kernel.git/commit
max6875: Discard obsolete detect method
authorJean Delvare <khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:41 +0000 (22:53 +0200)
committerJean Delvare <khali@linux-fr.org>
Sun, 4 Oct 2009 20:53:41 +0000 (22:53 +0200)
commit658b8451f3a52885f3aa6f4ecb5cdbad16edd43b
treee5ce6f25bef922df78da1116baf50916f122ce19
parent209f298dd8be5b03c3ab37bb1138f76f248ad1d8
max6875: Discard obsolete detect method

There is no point in implementing a detect callback for the MAX6875, as
this device can't be detected. It was there solely to handle "force"
module parameters to instantiate devices, but now we have a better sysfs
interface that can do the same.

So we can get rid of the ugly module parameters and the detect callback.
This basically divides the binary module size by 2.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Ben Gardner <gardner.ben@gmail.com>
Documentation/misc-devices/max6875
drivers/misc/eeprom/max6875.c