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

From: Shevchenko, Andriy
Date: Wed Aug 05 2015 - 10:12:34 EST


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.