On Sun, Sep 20, 2009 at 6:34 AM, Jean Delvare <khali@xxxxxxxxxxxx> wrote: > 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: Jean Delvare <khali@xxxxxxxxxxxx> > Cc: Ben Gardner <gardner.ben@xxxxxxxxx> Acked-by: Ben Gardner <gardner.ben@xxxxxxxxx> > +$ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device I learned something new today. =) Thanks, Ben -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html