> > + 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(...); Darn, right... Will fix!