From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH] spi: acpi: remove superfluous parameter check Date: Thu, 12 Mar 2020 15:14:47 +0100 Message-ID: References: <20200312134507.10000-1-wsa@the-dreams.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: linux-spi , Linux-Renesas , Mark Brown , Wolfram Sang To: Wolfram Sang Return-path: In-Reply-To: <20200312134507.10000-1-wsa@the-dreams.de> Sender: linux-renesas-soc-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org On Thu, Mar 12, 2020 at 2:46 PM Wolfram Sang wrote: > From: Wolfram Sang > > to_spi_device() already checks 'dev'. No need to do it before calling > it. > > Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds