Re: [PATCH v2 1/3] rx1950: add battery device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux