From mboxrd@z Thu Jan 1 00:00:00 1970 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 94F9BC32771 for ; Fri, 19 Aug 2022 13:28:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349322AbiHSN2f (ORCPT ); Fri, 19 Aug 2022 09:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348542AbiHSN2d (ORCPT ); Fri, 19 Aug 2022 09:28:33 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF97241D1A; Fri, 19 Aug 2022 06:28:31 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 9DA6A1C0010; Fri, 19 Aug 2022 15:28:30 +0200 (CEST) Date: Fri, 19 Aug 2022 15:28:30 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , Sasha Levin Subject: Re: [PATCH 5.15 615/779] mfd: t7l66xb: Drop platform disable callback Message-ID: <20220819132830.GE11901@duo.ucw.cz> References: <20220815180337.130757997@linuxfoundation.org> <20220815180403.651006449@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qFgkTsE6LiHkLPZw" Content-Disposition: inline In-Reply-To: <20220815180403.651006449@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Mon 2022-08-15 20:04:19, Greg Kroah-Hartman wrote: > From: Uwe Kleine-K=F6nig >=20 > [ Upstream commit 128ac294e1b437cb8a7f2ff8ede1cde9082bddbe ] >=20 > 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. >=20 > This is a preparation for making platform remove callbacks return void. I'm not sure if we need this in stable; this does not really fix anything, it is just a cleanup. Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --qFgkTsE6LiHkLPZw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYv+P/gAKCRAw5/Bqldv6 8pvPAKC7p4CucX2yYDYm4pR9PPoD/crrLgCfa6yNWtF9xoJzVrJTLiV3b4A6GBU= =v2gB -----END PGP SIGNATURE----- --qFgkTsE6LiHkLPZw--