[U-Boot] [PATCH 4/5] dm: ofnode: rename dev_read_prop() to dev_get_property()
Masahiro Yamada
yamada.masahiro at socionext.com
Mon Jul 17 03:29:20 UTC 2017
Hi Simon,
2017-07-14 23:20 GMT+09:00 Simon Glass <sjg at chromium.org>:
> Hi Masahiro,
>
> On 13 July 2017 at 20:38, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
>> Hi Simon,
>>
>>
>> 2017-07-07 12:57 GMT+09:00 Simon Glass <sjg at chromium.org>:
>>> Hi Masahiro,
>>>
>>> On 5 July 2017 at 22:49, Simon Glass <sjg at chromium.org> wrote:
>>>> On 22 June 2017 at 01:54, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
>>>>> The previous commit renamed ofnode_read_prop() to ofnode_get_propery()
>>>>> and fixed its return type. Likewise, rename dev_read_prop() and fix
>>>>> its return type.
>>>>>
>>>>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>>>>> ---
>>>>>
>>>>> drivers/core/read.c | 3 ++-
>>>>> drivers/input/key_matrix.c | 4 ++--
>>>>> include/dm/read.h | 9 +++++----
>>>>> 3 files changed, 9 insertions(+), 7 deletions(-)
>>>>
>>>> Acked-by: Simon Glass <sjg at chromium.org>
>>>
>>> Actually I take that back. I'd like all functions in read.h to start
>>> with dev_read...().
>>>
>>
>> Do you want me to fix the return type?
>
> Yes void * would be better I suppose. Also what happened with that
> patch with the DEBUG problem?
>
Why do you need dm_dbg()
instead of generic debug() or pr_debug()?
--
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list