Re: [PATCH] i2c: mux: use proper dev when removing "channel-X" symlinks

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

 



On Thu, Apr 23, 2015 at 10:29:09AM +0200, Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxxxx>
> Fixes: c9449affad2ae0

Applied to for-current, thanks!

Attachment: signature.asc
Description: Digital signature


[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