Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56EE6C636CC for ; Tue, 31 Jan 2023 13:27:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232194AbjAaN1B (ORCPT ); Tue, 31 Jan 2023 08:27:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231950AbjAaN06 (ORCPT ); Tue, 31 Jan 2023 08:26:58 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2BA8392BD; Tue, 31 Jan 2023 05:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675171606; x=1706707606; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3XvfexoOzLzK+QX1hdeFmURVNAbq120zFvC/kuhd59g=; b=R8gLa3qZEo+T/UM2ABe26s7p1BPFr/rF2ynrAQ7rUVpZebIkVhm6qaiM dHJmS94aGk9BU0LIlRRB3S7plzs8AdmYpyqOODDm559w0/2jB2J6g2NPZ An7Hz/GdTQ0h/VA9U5WrzkoB+f8btk9vop/aMu045GbCY3iib4/2WmPj2 Uq/mrUdeA4RZPPsCA+ZbycWkbo4dhkma//oBKEli7bbTrLSLWq9NcD8ta Ze80oAabf1yyWIoJXwpZK0c+QXbrHdRD6TMxdu1EHcn9vdZQ+SFyuxQkY C5ZRz2LKAhxJzhPR/CmYBkjeN+7NLaJTMc16VAaoj/CCTN+Awx0YTuDwk g==; X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="325535993" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="325535993" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2023 05:26:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="657866093" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="657866093" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 31 Jan 2023 05:26:41 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pMqel-000Gdv-2L; Tue, 31 Jan 2023 15:26:39 +0200 Date: Tue, 31 Jan 2023 15:26:39 +0200 From: Andy Shevchenko To: "Sahin, Okan" Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Jonathan Cameron , Lars-Peter Clausen , ChiYuan Huang , "Bolboaca, Ramona" , Caleb Connolly , William Breathitt Gray , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-iio@vger.kernel.org" Subject: Re: [PATCH v3 3/5] drivers: regulator: Add ADI MAX77541/MAX77540 Regulator Support Message-ID: References: <20230118063822.14521-1-okan.sahin@analog.com> <20230118063822.14521-4-okan.sahin@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 31, 2023 at 01:12:26PM +0000, Sahin, Okan wrote: > On Tue, 31 Jan 2022 3:24 PM > Andy Shevchenko wrote: > >On Tue, Jan 31, 2023 at 07:20:52AM +0000, Sahin, Okan wrote: > >> On Wed, 18 Jan 2022 11:20 AM > >> Andy Shevchenko wrote: > >> >On Wed, Jan 18, 2023 at 09:38:10AM +0300, Okan Sahin wrote: ... > >> >> + rdev = devm_regulator_register(dev, > >> >> + &desc[i], &config); > >> > > >> >This is perfectly one line. > >> Thank you, I will arrange it. > >> > > >> >> + if (IS_ERR(rdev)) > >> >> + return dev_err_probe(dev, PTR_ERR(rdev), > >> >> + "Failed to register regulator\n"); > >> >> + } > >> >> + > >> >> + return 0; > >> >> +} > > > >> However, this one is not fit when I set max-line-length argument as 80 > >> in checkpatch script. What do you suggest? This line has 99 characters. > > > >Which line do you refer to? > I am referring "return dev_err_probe(dev, PTR_ERR(rdev), "Failed to register > regulator\n");" I have had no comments on that line. -- With Best Regards, Andy Shevchenko