Subject: Re: [PATCH] ARM: pxa: fix regulator related build fail in magician_defconfig

From: Mark Brown <[email-masked]>
Date: Tue, 6 Mar 2012 20:01:57 +0000

On Tue, Mar 06, 2012 at 02:46:43PM -0500, Paul Gortmaker wrote:

>  static struct regulator_consumer_supply bq24022_consumers[] = {
>  	{
> -		.dev = &gpio_vbus.dev,
>  		.supply = "vbus_draw",

No, this isn't a good fix - it will break the user.  You need to replace
dev with the equivalent dev_name.