diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-10-04 22:53:42 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-10-04 22:53:42 +0200 |
commit | 2d2a7cff1b63cde1e2d981eea8ae9e69ae9ce96d (patch) | |
tree | 73e2422c4d4836c770c6ba0269f1bcf002f9d48b /drivers/leds/leds-pca9532.c | |
parent | 0314b020c49c1d6cd182d2b89775bfa6686660db (diff) | |
download | op-kernel-dev-2d2a7cff1b63cde1e2d981eea8ae9e69ae9ce96d.zip op-kernel-dev-2d2a7cff1b63cde1e2d981eea8ae9e69ae9ce96d.tar.gz |
ltc4215/ltc4245: Discard obsolete detect methods
There is no point in implementing a detect callback for the LTC4215
and LTC4245, as these devices 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
callbacks. This shrinks the binary module sizes by 36% and 46%,
respectively.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ira W. Snyder <iws@ovro.caltech.edu>
Diffstat (limited to 'drivers/leds/leds-pca9532.c')
0 files changed, 0 insertions, 0 deletions