Re: [PATCHv2 3/3] regmap: add DT endianness binding support.

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

 



On Wed, Apr 02, 2014 at 06:09:09PM +0800, Xiubo Li wrote:

> +	ret = of_regmap_get_endian(dev, bus, config, "reg_endian", &reg_endian);
> +	if (ret)
> +		return ERR_PTR(ret);
> +
> +	ret = of_regmap_get_endian(dev, bus, config, "val_endian", &val_endian);
> +	if (ret)
> +		return ERR_PTR(ret);

Actually, if we're going to be doing this for all devices then we
probably need to namespace the properties too.  Not sure what to do for
a prefix though.  One for the DT folks.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux