Re: [PATCH -next] platform/chrome: unregister platform driver/devicewhen module exit

From: Olof Johansson
Date: Tue Nov 26 2013 - 23:27:06 EST


On Wed, Nov 27, 2013 at 11:34:58AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> We have registered platform driver and device when module
> init, and need unregister them when module exit.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
> ---

Applied, thanks. I suppose it might make sense to move the i2c deregistration
to a remove function for the platform driver at some point, but this will do.


-Olof
--
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/