Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbdHBMPo (ORCPT ); Wed, 2 Aug 2017 08:15:44 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:38872 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753113AbdHBMPl (ORCPT ); Wed, 2 Aug 2017 08:15:41 -0400 MIME-Version: 1.0 In-Reply-To: <20170724145508.7388-1-thierry.reding@gmail.com> References: <20170724145508.7388-1-thierry.reding@gmail.com> From: Linus Walleij Date: Wed, 2 Aug 2017 14:15:40 +0200 Message-ID: Subject: Re: [PATCH 1/4] gpio: tegra: Remove unnecessary check To: Thierry Reding Cc: Jonathan Hunter , "linux-gpio@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 343 Lines: 14 On Mon, Jul 24, 2017 at 4:55 PM, Thierry Reding wrote: > From: Thierry Reding > > of_device_get_match_data() can never return NULL, therefore the check > for NULL values is unnecessary. > > Signed-off-by: Thierry Reding Patch applied with Jon's ACK. Yours, Linus Walleij