[PATCH v2 1/3] rx1950: add battery device
Ben Dooks
ben at simtec.co.uk
Sat Sep 25 19:48:57 EDT 2010
On 08/09/10 09:58, Vasily Khoruzhick wrote:
> v2: don't force usage of battery driver,
> use named initialisers in LUTs.
Any chance of more description here?
> +
> +static const struct s3c_adc_bat_thresh bat_lut_noac[] = {
> + {
> + .volt = 4100,
> + .cur = 156,
> + .level = 100
> + },
In this case I'd say we may as well do the following
{ .volt = 4100, .cur = 156, .level = 100 },
given there so many of them.
--
Ben
More information about the linux-arm-kernel
mailing list