Re: [PATCH] ds2482: Discard obsolete detect method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux