Re: [PATCH 3/5] regulator: tps65910: use self device for regulatorregistration

From: Mark Brown
Date: Sat May 19 2012 - 14:01:51 EST


On Sat, May 19, 2012 at 08:04:08PM +0530, Laxman Dewangan wrote:

> Use self device for regulator registration instead of parent
> device.

What's the motivation behind this change? I'd expect the MFD device
(which is the actual physical device) to make things like dev_ prints
have an actual physical device which seems a bit more user friendly.
Making this change will also mean that things like regulator to
regulator supplies are less obvious on non-DT systems as they'll wind up
having to specify the subdevice, and on DT systems it'll change the
binding from being for the parent device to the subdevice.

Attachment: signature.asc
Description: Digital signature