From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933894AbcIRTh5 (ORCPT ); Sun, 18 Sep 2016 15:37:57 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:36054 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756101AbcIRThs (ORCPT ); Sun, 18 Sep 2016 15:37:48 -0400 Subject: Re: [PATCH v4] MIPS: bcm63xx: let clk_disable() return immediately if clk is NULL To: Masahiro Yamada , Ralf Baechle , linux-mips@linux-mips.org References: <1474221875-22687-1-git-send-email-yamada.masahiro@socionext.com> Cc: Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org From: Florian Fainelli Message-ID: Date: Sun, 18 Sep 2016 12:37:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1474221875-22687-1-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 18/09/2016 à 11:04, Masahiro Yamada a écrit : > In many of clk_disable() implementations, it is a no-op for a NULL > pointer input, but this is one of the exceptions. > > Making it treewide consistent will allow clock consumers to call > clk_disable() without NULL pointer check. > > Signed-off-by: Masahiro Yamada Acked-by: Florian Fainelli -- Florian