Re: [PATCH] of: add stub for of_n_addr_cells

From: Arnd Bergmann
Date: Mon Mar 27 2017 - 03:32:03 EST


On Mon, Mar 27, 2017 at 7:54 AM, Tobias Regnery
<tobias.regnery@xxxxxxxxx> wrote:
> On 24.03.17, Arnd Bergmann wrote:

>> >
>> > +static inline int of_n_addr_cells(struct device_node *np)
>> > +{
>> > + return 0;
>> > +}
>> > +
>>
>> This looks good, but we should also do the same thing for of_n_size_cells().
>>
>> I think I sent something like this a few years ago, but never resubmitted it
>> when it was ignored at first.
>>
>> Arnd
>
> This seems sensible, I can send an updated patch with this change or I can
> send it as a separate patch, whatever the maintainers prefer.

I'd recommend sending an updated patch.

Arnd