[U-Boot] [PATCH v2 3/8] dm: serial: remove unnecessary casting

Simon Glass sjg at chromium.org
Thu Oct 23 21:03:18 CEST 2014


Hi,

On 23 October 2014 12:45, Simon Glass <sjg at chromium.org> wrote:
> Hi Masahiro,
>
> On 23 October 2014 07:26, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
>> The type (void *) can be directly passed to a function that
>> takes a specific pointer type.
>>
>> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Thinking a bit more we may as well take this, the value of the
explicit type is very small.

Acked-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list