Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932498AbcKHK1s (ORCPT ); Tue, 8 Nov 2016 05:27:48 -0500 Received: from mail-qk0-f169.google.com ([209.85.220.169]:35994 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932185AbcKHK1m (ORCPT ); Tue, 8 Nov 2016 05:27:42 -0500 MIME-Version: 1.0 In-Reply-To: <20161105143515.4668-1-xypron.glpk@gmx.de> References: <20161105143515.4668-1-xypron.glpk@gmx.de> From: Linus Walleij Date: Tue, 8 Nov 2016 11:27:41 +0100 Message-ID: Subject: Re: [PATCH 1/1] pinctrl: st: st_pctl_dt_parse_groups simplify expression To: Heinrich Schuchardt Cc: Patrice Chotard , "linux-arm-kernel@lists.infradead.org" , "open list:ARM/STI ARCHITECTURE" , "linux-gpio@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: 315 Lines: 11 On Sat, Nov 5, 2016 at 3:35 PM, Heinrich Schuchardt wrote: > for_each_property_of_node(pins, pp) checks that pp is not NULL. > So there is no need to check it inside the loop. > > Signed-off-by: Heinrich Schuchardt Patch applied with Patrice's ACK. Yours, Linus Walleij