On Thu, Jun 16, 2016 at 10:28:23PM +0200, Jarkko Sakkinen wrote: > On Sun, Jun 12, 2016 at 03:05:29PM +0100, Sudip Mukherjee wrote: > > If devm_add_action() fails we are explicitly calling put_device() to > > free the resources allocated. Lets use the helper > > devm_add_action_or_reset() and return directly in case of error, as we > > know that the cleanup function has been already called by the helper if > > there was any error. > > > > Signed-off-by: Sudip Mukherjee <[email protected]> > > Reviewed-by: Jarkko Sakkinen <[email protected]>
Applied to master. /Jarkko ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ tpmdd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
