Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp869323iog; Wed, 15 Jun 2022 14:21:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s72sp0cwOaHa9UFg9MA3uDg10SnTptE7rTc4Df/x6PzXgHpBmTd7qAtQTQGGcyXPO5R1eg X-Received: by 2002:a17:902:7202:b0:167:79d1:f with SMTP id ba2-20020a170902720200b0016779d1000fmr1614800plb.3.1655328075938; Wed, 15 Jun 2022 14:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655328075; cv=none; d=google.com; s=arc-20160816; b=MVwY3qHvfZWSApTsl+ST6DqqkPwiUq01LkQqzN6fKkX5P8vwu//u+LIOwa7eq1XPtE Pg6qB9P57KnKanGZt0vRybCEximtu/1HuwV/72zcXSiO969xu5S41OvYJxU82bDhxGDq K1i3yVuS+jb/hhca6FoMngr6hldFQ/RK367kjbh0/3BdLsc9AH1IsyahFWGA/3SZRa6+ PMaeYEhqY3Ovy7dLBEdamYk5Epb4UsZ1F/1xBqjNl4RAuezp/E2Jd11rR7UHgzAja3Tw znUdCp9Z3uKKFeawbcTQi9Y4W1d2R0yRO68WwoopJLnOdmvRuP8I17bGgasD6vPtUwRA h5gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=C2Ku7qa75z9YE3IquAr7Ebmxd4PtdYpE3qZcCL6xmjA=; b=IGVULGJXxNa7A8dcD0XyEi7yuhR4TAGT002fz9X9HsTsI4BGuGJyWJB+oW1EObhqCV d5Dx5S5C+6/4DjjTkgeP8nzaHRpounzSGUU182Zk5CI63r9QMkiA16DYqCAmjTBbRrKC yikNVyvW4xCFkJC4mwFshQNL/xlAGF6a3tvvyOIYFMt9/hkc0qVgGTGAAz+kRQgPuUER /Oclp4HcrxV04v7QUPHgkd/kFf6TAlLSoVMPhxoicM+QHxG6vzWqvnV17+KrI2qR2cdw XDhSYcanRnF2O4esJ8P0/gjqSjw9mM383NeIqEcCzULFioKcpV0wgsVSZvncq/ywNibb IEeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HKtFgwjo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a170902ecc300b0015ce3e35354si421850plh.90.2022.06.15.14.20.59; Wed, 15 Jun 2022 14:21:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HKtFgwjo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345557AbiFOVGt (ORCPT + 99 others); Wed, 15 Jun 2022 17:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244563AbiFOVGs (ORCPT ); Wed, 15 Jun 2022 17:06:48 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 845453EAB2 for ; Wed, 15 Jun 2022 14:06:47 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id v17-20020a17090a899100b001ead067eaf9so3354380pjn.0 for ; Wed, 15 Jun 2022 14:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=C2Ku7qa75z9YE3IquAr7Ebmxd4PtdYpE3qZcCL6xmjA=; b=HKtFgwjom4IlGGQAROF161kO4Dk9H2HUUtljoNhdvpuDG8XIYEc2V7d+jp7cfVEHAz Hv41NyViCBaWu29mQWo7SCCLQG92XRSRpPVJCUCHyiMIPbreyJZSUvwuEsZi3Ym2JsWD 19aLn6ibBNJF8Eqa83r9/UdDFXQZvVxG1/jQ4Kr0J4pI+WLuKofODQyygrLtorT2L6fl BrJWA9NHcQFnzf1O9AKF7DLKb7KeCqMD1l1965dk4LDl7PxLqipAYsn/c+24+GzEI1ym Em4MSTIaICrzfs5eOzfSNrkBR85MPJ1KBNWGSHwfmTfG3HzXScWF1ljeIb5En5dUR0ST PHgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=C2Ku7qa75z9YE3IquAr7Ebmxd4PtdYpE3qZcCL6xmjA=; b=wCNKjDh9ioMc5nmDUg60iYjI1sy+sW0fQfnlNrX/YaqcjX9YBGG4CAekBOi85S5+jj ghjBM93/dWAe5TZSgfaWRHDnjWlEqY7xm3cYr3mZPQb1sIahyz/tEHQ1w5DMqL9umv9B l8YTFh+T0d/k+csVwIXM2e+Zel8sDNIL/fA8tP/+UYCH2VRsQJXUJpdIZBdJ//8DegZH jh989CsSsyiTQsh67Ins4Rmwvzcg67pS2NfVYgwu0Ohtn8sfJlsnJkquH9l+oAAT7l9T KNZ0xBhMFR/zVhpGwL6PEWENhrkp8xI7ITg/7D8KPYW26/w/LX7gg/dj0k69xS+eCYCu XZaQ== X-Gm-Message-State: AJIora9fdJRb0lQ5WliULfpSjU1ivTt0G//gh96ilA7r3210vqGFywk1 I2KeW3BYn/t4/tTAJGoJE6gGBA== X-Received: by 2002:a17:902:e412:b0:169:3fd:3080 with SMTP id m18-20020a170902e41200b0016903fd3080mr256919ple.16.1655327207045; Wed, 15 Jun 2022 14:06:47 -0700 (PDT) Received: from google.com ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id j10-20020a17090a588a00b001e2f892b352sm2254071pji.45.2022.06.15.14.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 14:06:46 -0700 (PDT) Date: Wed, 15 Jun 2022 22:06:43 +0100 From: Lee Jones To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/4] mfd: t7l66xb: Drop platform disable callback Message-ID: References: <20220530192430.2108217-1-u.kleine-koenig@pengutronix.de> <20220530192430.2108217-3-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220530192430.2108217-3-u.kleine-koenig@pengutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 May 2022, Uwe Kleine-König wrote: > None of the in-tree instantiations of struct t7l66xb_platform_data > provides a disable callback. So better don't dereference this function > pointer unconditionally. As there is no user, drop it completely instead > of calling it conditional. > > This is a preparation for making platform remove callbacks return void. > > Fixes: 1f192015ca5b ("mfd: driver for the T7L66XB TMIO SoC") > Signed-off-by: Uwe Kleine-König > --- > Technically this fixes the first commit introducing a struct > t7l66xb_platform_data without a disable callback, but ... > --- > drivers/mfd/t7l66xb.c | 6 +----- > include/linux/mfd/t7l66xb.h | 1 - > 2 files changed, 1 insertion(+), 6 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog