Bug in i2c-core?

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Feb 27 09:05:45 PST 2015


On Fri, Feb 27, 2015 at 07:29:30AM -0800, Dmitry Torokhov wrote:
> On February 27, 2015 6:37:25 AM PST, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> >Dear Sébastien SZYMANSKI,
> >
> >On Fri, 27 Feb 2015 12:09:51 +0100, Sébastien SZYMANSKI wrote:
> >
> >>         error = input_register_device(sx8654->input);
> >>         if (error)
> >>                 return error;
> >
> >Where is your ->remove() function that unregisters the input device?
> 
> Everything seems to be allocated with devm so remove is not needed.
Everything is devm_* but input_register_device, right?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list