Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1066957rdd; Wed, 10 Jan 2024 07:44:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgmP0omedeamKJtFgnbrk5lUC2o10Wpm9hNRUn2zEdprtFJ8PmcSBg2bTtxYlg+RuUSNHF X-Received: by 2002:a05:622a:114:b0:429:b5e1:912 with SMTP id u20-20020a05622a011400b00429b5e10912mr1233709qtw.15.1704901486553; Wed, 10 Jan 2024 07:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704901486; cv=none; d=google.com; s=arc-20160816; b=ZMSqfOUNxo5KGsE7AAX5VTVzsjj2vaNIi2bzjdQ5uM8jLmUEoyNYOJgZZDbkmK+Oef CZclLG2J58uqRlD2L6L26IQtKTDnV5jpd1ew4UiwbzT1oqgab3Up1yMcIyi1AYogy9Ip 1+PmNGQ+cVCEhCCq/ICuTIuIqN7BHEvlk3Lg6ATtbdZc2K3jsSRd/7U+AbWHj+KFuM9C 2J6R+9eQ32+Cbw1/GL5StfS1v9IfbH22BSR1ir6OC3Q2Gn27RN2YM7bbC3LKET+/GuyD 05mb/hqb8Y548bCPvRq9EMUsvB8NMvPE72mYR6beF0QD92nWXScqg9594dU9Dyt5HBlr IJWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=JDXbP1HqwWNUk+2yFxz157ZCRf9uidSLvCnVKX8ZZT0=; fh=swUwvE13kuaSp1vP55RQ89DmU23/7RIhr7xVtF9j3mg=; b=IIM6QJvkwSr3sWdZLzBCGMJKyxBoSn+oqkCYSMNBfG3yW52M/SJpZfsEmgLPrvYcWB Z9Mv+vBWN5ZefFeX6PPdG0z5OIOWoKE6y5AayohbwZViDURLjNdazUb4Z5RPLbW0b6vh /vpm8xvtO1bl7fo9ood3QrKdYN4LsTmognw8eLEKWMlaOZNFC+h5DL6Ya1HsVFACvbU0 jlgI0L6sydfTWz9xUIuNxBftDpDzUL3DCk3TW37TENfUmHjE7I/HR07tAqzH1lLWguOE W8sXDu+EKGEU9ZoiHPvHEMYg4v9Hn8K+WvvdaoUqADKe5WcbrvIkBaFR2Vzh1awN68S1 vTGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22446-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cr11-20020a05622a428b00b004299966ab82si4251640qtb.391.2024.01.10.07.44.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:44:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22446-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22446-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4A3211C262F1 for ; Wed, 10 Jan 2024 15:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 466234CE0E; Wed, 10 Jan 2024 15:43:27 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A70D4C3C3 for ; Wed, 10 Jan 2024 15:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rNajS-0007JG-A4; Wed, 10 Jan 2024 16:43:06 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rNajQ-001jUV-Tu; Wed, 10 Jan 2024 16:43:04 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rNajQ-006c4D-2j; Wed, 10 Jan 2024 16:43:04 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Michael Ellerman Cc: Rob Herring , Dmitry Torokhov , Jean Delvare , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] macintosh: Convert to platform remove callback returning void Date: Wed, 10 Jan 2024 16:42:47 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1683; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=UH9oocdbFr6FrYsYir1wfN1k0wKKPJBWYUPiclOmAyE=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlnrr4vT/fcslf3Png75vHSdfFtEXQIf4ZgsIwE gkLUur0132JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZZ66+AAKCRCPgPtYfRL+ TvABB/wOX3mUXD7DERVtVadjsJkSVspw+GGQbS2xZWyxnylCvUNifPR086DsOrZzZENIuz0OcKg B+fIyRk6gjrZqM4FIIjsc/1TO2uuSMk7Pv/LvhPt+XPmLpYA1+mTXygvwoNI3qBm1q0PVZcm8tr za8V9LZFEHJ/J/EA3ksjFzy/ocafe+qwEcME1rorknGwHDpqngz3FOgY4emziEZSs9U5kJWsEJA qxV5Nuam8FcJ8cKKyz6xhIFPoBRMoJyl/FyrlnWL4JJVRtL7XTiG4xLjrpp/rx9eeYaN1T1wbZv bDmStugTvHTWwlm88P62UG3jHsXHyJrwf1QoOJaAqJcUpGDp X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hello, this series converts all drivers below drivers/macintosh to use remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The TL;DR; is to make it harder for driver authors to leak resources without noticing. This is merge window material. All patches are pairwise independent of each other so they can be applied individually. There isn't a maintainer for drivers/macintosh, I'm still sending this as a series in the hope Michael feels repsonsible and applies it completely. Best regards Uwe Uwe Kleine-König (7): macintosh: therm_windtunnel: Convert to platform remove callback returning void macintosh: windfarm_pm112: Convert to platform remove callback returning void macintosh: windfarm_pm121: Convert to platform remove callback returning void macintosh: windfarm_pm72: Convert to platform remove callback returning void macintosh: windfarm_pm81: Convert to platform remove callback returning void macintosh: windfarm_pm91: Convert to platform remove callback returning void macintosh: windfarm_rm31: Convert to platform remove callback returning void drivers/macintosh/therm_windtunnel.c | 6 ++---- drivers/macintosh/windfarm_pm112.c | 6 ++---- drivers/macintosh/windfarm_pm121.c | 5 ++--- drivers/macintosh/windfarm_pm72.c | 7 ++----- drivers/macintosh/windfarm_pm81.c | 8 +++----- drivers/macintosh/windfarm_pm91.c | 8 +++----- drivers/macintosh/windfarm_rm31.c | 7 ++----- 7 files changed, 16 insertions(+), 31 deletions(-) base-commit: 8cb47d7cd090a690c1785385b2f3d407d4a53ad0 -- 2.43.0