Re: [PATCH 1/5] device property: helper macros for property entry creation

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

 



On Wed, 2015-08-05 at 17:02 +0300, Andy Shevchenko wrote:
> On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:

[]

> > +#define PROP_ENTRY_STRING(_name_, _val_) { \
> 
> …_STRING_ARRAY I can notice.

s / can / can't /

> 
> > +	.name = _name_, \
> > +	.type = DEV_PROP_STRING, \
> > +	.nval = 1, \
> > +	.value.str = (const char **)_val_, \
> > +}
> > +
> >  /**
> >   * struct property_set - Collection of "built-in" device 
> > properties.
> >   * @fwnode: Handle to be pointed to by the fwnode field of struct 
> > device.
> 

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Intel Finland Oy
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
��.n��������+%������w��{.n�����{��נ���^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux