Similar to mux devices, create special symlinks to connect the demuxed
bus with the demux device.
Signed-off-by: Wolfram Sang
---
drivers/i2c/muxes/i2c-demux-pinctrl.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/i2c/muxes/i2c-demux-pinctrl.c
b/drivers/i2c/muxes/i2c-demux
On 2018-04-30 13:55, Wolfram Sang wrote:
> Similar to mux devices, create special symlinks to connect the demuxed
> bus with the demux device.
>
> Signed-off-by: Wolfram Sang
> ---
> drivers/i2c/muxes/i2c-demux-pinctrl.c | 8
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/i
> > + sysfs_create_link(&priv->cur_adap.dev.kobj, &priv->dev->kobj,
> > + "demux_device");
> > + sysfs_create_link(&priv->dev->kobj, &priv->cur_adap.dev.kobj,
> > + "channel-0");
> > +
>
> From sysfs.h:
> int __must_check sysfs_create_link(...