Re: [PATCH] i2c: remove obsolete cleanup for clientdata

From: Wolfram Sang
Date: Tue Aug 24 2010 - 01:17:35 EST


On Mon, Aug 23, 2010 at 05:58:17PM -0400, Mike Frysinger wrote:
> On Mon, Aug 23, 2010 at 11:05, Wolfram Sang <wrote:
> > A few new i2c-drivers came into the kernel which clear the clientdata-pointer
> > on exit. This is obsolete meanwhile, so fix it and hope the word will spread.
>
> on a related note, do we need to clear it when erroring at probe time
> ? doesnt seem like that is necessary either ...

Correct, you don't have to. The core will do it.

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature