Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1631203

Re: [PATCH 2/2] pinctrl: samsung: remove unneeded (void *) casts in of_match_table

From Krzysztof Kozlowski <krzk@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] pinctrl: samsung: remove unneeded (void *) casts in of_match_table
Date 2017-04-26 09:30 +0200
Message-ID <tApyF-7vI-5@gated-at.bofh.it> (permalink)
References <tAglI-1EE-15@gated-at.bofh.it> <tAglI-1EE-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 25, 2017 at 11:34 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> of_device_id::data is an opaque pointer.  No explicit cast is needed.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  drivers/pinctrl/samsung/pinctrl-samsung.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)

Looks correct. It is too late for me for v4.12 so I will pick it up
for v4.13. For my reference:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] pinctrl: samsung: remove unneeded (void *) casts in of_match_table Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-25 23:40 +0200
  Re: [PATCH 2/2] pinctrl: samsung: remove unneeded (void *) casts in of_match_table Krzysztof Kozlowski <krzk@kernel.org> - 2017-04-26 09:30 +0200

csiph-web