On Sat, Mar 24, 2012 at 10:56:00AM +0800, Axel Lin wrote: > regulator_register never returns NULL. Applied both, thanks. In theory it may return NULL but that's not an error code.