[PATCH 6/6] ARM: S5PC110: add support for MMC regulators on Goni board

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Sep 10 05:41:04 EDT 2010


On Fri, Sep 10, 2010 at 09:23:23AM +0200, Marek Szyprowski wrote:

> +static struct regulator_consumer_supply goni_ldo5_consumers[] = {
> +	{ .supply = "vmmc",	.dev = &s3c_device_hsmmc0.dev },
> +};
> +

This is OK but it is better to use dev_name rather than dev - dev may
be removed at some point since given dev you can always use dev_name but
you don't always have dev.

Acked-by: Mark Brown <broonie at opoensource.wolfsonmicro.com>



More information about the linux-arm-kernel mailing list