Skip to content
Commit 0314b020 authored by Jean Delvare's avatar Jean Delvare
Browse files

ds2482: Discard obsolete detect method



There is no point in implementing a detect callback for the DS2482, 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 shrinks the binary module size by 21%.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarBen Gardner <gardner.ben@gmail.com>
parent b835d7fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment