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


Groups > linux.kernel > #1699935

Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check
Date 2017-07-31 13:10 +0200
Message-ID <u9gKd-5wZ-9@gated-at.bofh.it> (permalink)
References <u6MZX-6gF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jul 24, 2017 at 04:55:05PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> of_device_get_match_data() can never return NULL, therefore the check
> for NULL values is unnecessary.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  drivers/gpio/gpio-tegra.c | 11 ++---------
>  1 file changed, 2 insertions(+), 9 deletions(-)

Hi Linus,

any comments on this? I've got an updated series for the GPIO IRQ chip
stuff and another set of patches for banked controller support, but I'd
like to flush out all of these minor patches that are byproducts of the
other work.

Thierry

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


Thread

[PATCH 1/4] gpio: tegra: Remove unnecessary check Thierry Reding <thierry.reding@gmail.com> - 2017-07-24 17:00 +0200
  [PATCH 4/4] gpio: tegra: Use unsigned int where possible Thierry Reding <thierry.reding@gmail.com> - 2017-07-24 17:00 +0200
    Re: [PATCH 4/4] gpio: tegra: Use unsigned int where possible Jon Hunter <jonathanh@nvidia.com> - 2017-07-25 11:20 +0200
  [PATCH 3/4] gpio: tegra: Fix checkpatch warnings Thierry Reding <thierry.reding@gmail.com> - 2017-07-24 17:00 +0200
    Re: [PATCH 3/4] gpio: tegra: Fix checkpatch warnings Jon Hunter <jonathanh@nvidia.com> - 2017-07-25 10:40 +0200
    Re: [PATCH 3/4] gpio: tegra: Fix checkpatch warnings Linus Walleij <linus.walleij@linaro.org> - 2017-08-02 14:20 +0200
  Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check Jon Hunter <jonathanh@nvidia.com> - 2017-07-25 10:30 +0200
  Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check Thierry Reding <thierry.reding@gmail.com> - 2017-07-31 13:10 +0200
  Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check Linus Walleij <linus.walleij@linaro.org> - 2017-08-02 14:20 +0200

csiph-web