Re: [PATCH] regulator: Remove NULL test before calling regulator_unregister()

2013-04-27 Thread Mark Brown
On Sat, Apr 27, 2013 at 01:58:08PM +0800, Axel Lin wrote: > It's safe to call regulator_unregister() with NULL, thus remove the NULL test > before regulator_unregister() calls. Applied, thanks. signature.asc Description: Digital signature

[PATCH] regulator: Remove NULL test before calling regulator_unregister()

2013-04-26 Thread Axel Lin
It's safe to call regulator_unregister() with NULL, thus remove the NULL test before regulator_unregister() calls. Signed-off-by: Axel Lin Cc: Robert Jarzmik Cc: Haojian Zhuang Cc: Wolfram Sang Cc: Sangbeom Kim Cc: Cyril Chemparathy --- drivers/regulator/max1586.c|3 +-- dri