[lm-sensors] [PATCH 2.6-mm 0/5] i2c: add link to module in /sys/bus/i2c/drivers

Laurent Riffard laurent.riffard at free.fr
Fri Sep 30 16:50:17 CEST 2005


Here is a series of patch to create symbolic links to the module in
/sys/bus/i2c/drivers. It's useful to see which module provides a given
driver.

~$ tree /sys/bus/i2c/drivers/
/sys/bus/i2c/drivers/
|-- i2c_adapter
|   |-- bind
|   `-- unbind
|-- via686a
|   |-- bind
|   |-- module -> ../../../../module/via686a
|   `-- unbind
|-- w83781d
|   |-- 0-002d -> ../../../../devices/pci0000:00/0000:00:04.4/i2c-0/0-002d
|   |-- 0-0048 -> ../../../../devices/pci0000:00/0000:00:04.4/i2c-0/0-0048
|   |-- 0-0049 -> ../../../../devices/pci0000:00/0000:00:04.4/i2c-0/0-0049
|   |-- bind
|   |-- module -> ../../../../module/w83781d
|   `-- unbind
`-- w83781d-isa
    |-- bind
    |-- module -> ../../../../module/w83781d
    `-- unbind

These patches mainly updates the .owner field of struct xxx_driver variables.
-- 
laurent




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050930/ccace4e4/attachment.sig>


More information about the lm-sensors mailing list