Re: [PATCH v2 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function

From: Nishanth Menon
Date: Sun Jun 26 2016 - 09:33:06 EST


On 06/25/2016 09:40 PM, Guenter Roeck wrote:
> By registering a cleanup function with devm_add_action(), we can
> simplify the error path in the probe function and drop the remove
> function entirely.
>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Acked-by: Nishanth Menon <nm@xxxxxx>


--
Regards,
Nishanth Menon