linux/drivers/i2c
Wolfram Sang 133778482e i2c: mux: use proper dev when removing "channel-X" symlinks
Those symlinks are created for the mux_dev, so we need to remove it from
there. Currently, it breaks for muxes where the mux_dev is not the device
of the parent adapter like this:

[   78.234644] WARNING: CPU: 0 PID: 365 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x5c/0x78()
[   78.242438] sysfs: cannot create duplicate filename '/devices/platform/i2cbus@8/channel-0'

Remove confusing comments while we are here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Fixes: c9449affad
Cc: stable@kernel.org
2015-04-23 19:35:33 +02:00
..
algos
busses i2c: digicolor: remove duplicate include 2015-04-23 19:35:32 +02:00
muxes
i2c-boardinfo.c
i2c-core.c i2c: Mark adapter devices with pm_runtime_no_callbacks 2015-04-23 19:35:31 +02:00
i2c-core.h
i2c-dev.c
i2c-mux.c i2c: mux: use proper dev when removing "channel-X" symlinks 2015-04-23 19:35:33 +02:00
i2c-slave-eeprom.c
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile