Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755539AbbHCVqI (ORCPT ); Mon, 3 Aug 2015 17:46:08 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38162 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337AbbHCVqF (ORCPT ); Mon, 3 Aug 2015 17:46:05 -0400 Date: Mon, 3 Aug 2015 14:46:03 -0700 From: Stephen Boyd To: Leo Yan Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Michael Turquette , Wei Xu , Haojian Zhuang , Bintian Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Guodong Xu , Jian Zhang , Zhenwei Wang , Haoju Mo , Dan Zhao , sunzhaosheng@hisilicon.com, victor.lixin@hisilicon.com Subject: Re: [PATCH v3 1/5] clk: hisi: refine parameter checking for init Message-ID: <20150803214603.GC21068@codeaurora.org> References: <1438564418-15948-1-git-send-email-leo.yan@linaro.org> <1438564418-15948-2-git-send-email-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438564418-15948-2-git-send-email-leo.yan@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 19 On 08/03, Leo Yan wrote: > *of_iomap()* will check the device node pointer, and if the pointer is > NULL it will return error code. So refine clock's init flow by checking > the device node with this simple way; and polish a little for the print > out message. > > Signed-off-by: Leo Yan > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/