Re: [PATCH v5 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

From: Dmitry Torokhov
Date: Mon Mar 23 2015 - 12:01:48 EST


Hi Bo,

On Mon, Mar 23, 2015 at 06:14:17PM +0800, Bo Shen wrote:
> Hi Jonathan Richardson,
>
> On 03/21/2015 08:57 AM, Jonathan Richardson wrote:
> >+static struct platform_driver iproc_ts_driver = {
> >+ .probe = iproc_ts_probe,
>
> Just a little curious, is the .remove function missing or it doesn't
> need it.

When all resources used by a driver are managed (i.e. acquired via devm
API) such driver does not need remove() method.

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/