Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2638464rdg; Mon, 16 Oct 2023 10:06:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEa1xmDDGuqgQLMJXdSkpX1zkI9O4JnATQrUTlWWc7cAFOBkrG8Mo2zyg91nnTOGdIcGBF2 X-Received: by 2002:a05:6a21:9997:b0:154:b4cb:2e8c with SMTP id ve23-20020a056a21999700b00154b4cb2e8cmr37578311pzb.24.1697475975769; Mon, 16 Oct 2023 10:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475975; cv=none; d=google.com; s=arc-20160816; b=gN2Gs28bt58M5mFx1Kry6slpLFFcmLsBEWyLZTdZCgJM8m4QlBMejCH1wZAGBN98Cz 03Q0dwJVpQa1o833rJtzINj/jAPIP6u9l1BX8zUEZCuuwEv8y54nODbtPdIZ7O+BK7CW D0WjwvcMNpr+LPRTbyZ3+CuvyzQfZraj7MzDfi2zMYLerknc1zNOuv88mD7YeP0wyNi+ RTCYTx6+keCeC+mU/EOasKQIAx/yqMH4eopPbTcd7sNZGN/1BP5HNU8tU1iBpVVjReTM niDk3YwFJYMTmpRJWRQmHeth3ohvK9CJRGb8KyNPIyIz0cWQ520Ir15ZI6vdkSXZM0Jf O34w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gYr4VQXG6atOk37ZvfPqzhmLRY/iGf4DQKi4YsytWVY=; fh=yqoav7EnEdJ2mT+rtoecryk3HwWdUT86ZBxH2AVEvUc=; b=BfefSgS3mnWx4Kta4dsA4W9ZGY9Gjqxf89JFGiFl301dClo47YhAJJng69iQ7LjJkc tjAuJ8n6GdZQ4U+IcjVjqDB2wH4r68Dujn/LhPak+D3tiPI1tZigiT/xeLkLVdQg/nYj pUwM45sGoY48UG6W4F8PF3fLqaIxKDsHUGbDjfRgJHIH5iI77rlPTyiY0AsbxaSJv5Xg FDT577zMCMv1iZh8BQS4btJ1uX8yWxxMVoMA60dxdEXeD+sVuC8/6JTTDB+NTq1Be3o8 ECHSHjsGxRhWF/PpZ1ZRXYLdJQHbJex5biKWmQXao0XziL9d7vA6yfuptcVKNYSibArU DOFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TXZqeHl2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id k15-20020a63d84f000000b0058556a636dbsi10532857pgj.434.2023.10.16.10.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TXZqeHl2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E410E8089856; Mon, 16 Oct 2023 10:06:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233876AbjJPRFo (ORCPT + 99 others); Mon, 16 Oct 2023 13:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232778AbjJPRFV (ORCPT ); Mon, 16 Oct 2023 13:05:21 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F80B30D2; Mon, 16 Oct 2023 10:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697475710; x=1729011710; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=yKww6SjCEG/wpwZG3DM33NqeeIEdYlnk1Zx568Ludko=; b=TXZqeHl2u9skQJfihU3Qa8vQkh9qa11a2/omh9KZrh7/8lzGOqu75vCt niItsHXfaZr49swNR+/SrxA+0XzZsD2q15Dm3sMIIzjG0J1LhpwlBxgl4 VNflmiAZ3haBDTsqxBbbpSPK5QC/VoTAkYA/maEHOYFzezNvlR/HbCR1m l0LAICYrKV/m4xkRseJCH3jx+sn6ztdQJFYZOYduScu+n6UZsPNgJmQmw 1qchPP7G4W7L5Mw+YjRlrL87mCBKrp2QHh6dxj/wKu5KSOxhDUgu0nZU9 qwW7RtYtyU3ky8Wkv1CXG67vg2aavcYC1nr4NqKxny5qJ6Vu53gmAaKn3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="385427222" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="385427222" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 10:01:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="1087133794" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="1087133794" Received: from powerlab.fi.intel.com ([10.237.71.25]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 10:01:33 -0700 From: Michal Wilczynski To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: rafael.j.wysocki@intel.com, andriy.shevchenko@linux.intel.com, lenb@kernel.org, Michal Wilczynski Subject: [PATCH v1 0/3] Replace acpi_driver with platform_driver Date: Mon, 16 Oct 2023 20:01:22 +0300 Message-ID: <20231016170125.576159-1-michal.wilczynski@intel.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 16 Oct 2023 10:06:13 -0700 (PDT) This patchset is a continuation of efforts from [1] aiming to replace acpi_driver with platform_driver. To ease up review effort I'm sending miniseries per driver, with a replacement patch + various improvements that were noticed by me, or during internal review. This mini-series takes care of acpi_pad driver. [1] - https://lore.kernel.org/linux-acpi/20231011083334.3987477-1-michal.wilczynski@intel.com/T/#t Michal Wilczynski (3): ACPI: acpi_pad: Replace acpi_driver with platform_driver ACPI: acpi_pad: Use dev groups for sysfs ACPI: acpi_pad: Rename ACPI device from device to adev drivers/acpi/acpi_pad.c | 93 +++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 55 deletions(-) -- 2.41.0