Re: [PATCH 8/8] of: changesets: Introduce changeset helper methods

2015-11-17 Thread Geert Uytterhoeven
Hi Pantelis, On Fri, Jun 12, 2015 at 9:55 PM, Pantelis Antoniou wrote: > --- a/include/linux/of.h > +++ b/include/linux/of.h > @@ -1028,6 +1028,27 @@ static inline int of_changeset_update_property(struct > of_changeset *ocs, > { > return of_changeset_action(ocs,

Re: [PATCH 8/8] of: changesets: Introduce changeset helper methods

2015-11-17 Thread Geert Uytterhoeven
Hi Pantelis, On Fri, Jun 12, 2015 at 9:55 PM, Pantelis Antoniou wrote: > --- a/include/linux/of.h > +++ b/include/linux/of.h > @@ -1028,6 +1028,27 @@ static inline int of_changeset_update_property(struct > of_changeset *ocs, > { > return

[PATCH 8/8] of: changesets: Introduce changeset helper methods

2015-06-12 Thread Pantelis Antoniou
Changesets are very powerful, but the lack of a helper API makes using them cumbersome. Introduce a simple copy based API that makes things considerably easier. To wit, adding a property using the raw API. struct property *prop; prop = kzalloc(sizeof(*prop)), GFP_KERNEL);

[PATCH 8/8] of: changesets: Introduce changeset helper methods

2015-06-12 Thread Pantelis Antoniou
Changesets are very powerful, but the lack of a helper API makes using them cumbersome. Introduce a simple copy based API that makes things considerably easier. To wit, adding a property using the raw API. struct property *prop; prop = kzalloc(sizeof(*prop)), GFP_KERNEL);