Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1415234rdh; Fri, 24 Nov 2023 12:03:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7FDim4kirC10XgMNe7xFRzuYKMZpMSBwWCy5RsHhWZUFHVupeQFhOOunIjBhYKObq8J/l X-Received: by 2002:a17:903:4284:b0:1cf:a7f9:1e7a with SMTP id ju4-20020a170903428400b001cfa7f91e7amr2288366plb.45.1700856216445; Fri, 24 Nov 2023 12:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700856216; cv=none; d=google.com; s=arc-20160816; b=nrs0OsHZSOdE44c266mW+jrj+wFGPx/wW86Os4lfLPGZHL/ZYXx/x8RT632tXxkSqa 2FAZyR0JwP/q2BinxdTJYUtzT5tVoaM4qjKHT27K9XmOiBTiPcSfDPjLhgRfCesDdnrm BPmk24MX3XwhuWOc4H/aynguEWSl82f70NkXq93BNw+/L4O1bu6aSycZWAuK1ndWaC19 2d0+o4zXHEdG3wFRSBrVYNWw4utXIdP+bSjf+0rEqyLNbPNJxz77EYVGTq0Y/ClM1C27 K3BRvjvNxK+QNOVkv0bucF1EozsVeAajMSgeEAiELRCjhq+MH92CrspgvKBkdaesu4BW y0Pg== 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=AC5xF2o68i8q0ggAwVCKxQkjAIsnqeM4JhTPm3eYIzc=; fh=NrWLvEVUW8ufGou/ZOuWZl9yKC+ByU+oxgRUdXMV2yI=; b=eFqxAoigOEz/Iopl0Lr5ZxC+gQOgUFiNc1p8CWxFJ7AetDom0Lm90fRPSHtp5oF048 VD+8lFyBbjY70wu5z1RTHSaBN9uML33sbjtmrhKsINFAjpQXqzJZh40K2X3BRb2hAhhV FC+RMwCCfDxpWFZVlEH+aa5xZx9wo1Vvdm9L4oRfgxT5gxb746UQwyDGxgYRWmrIL2Zy 3Ke4ln/iLcunoL679r8p9t9VkjCmKikUVJSDJT0oTe9ateikjZm6MZQ6Zc7EkNg3XMOQ zPzntxK191PyJ0ugGdhpJwfIJTXEgFPxAbZoxJiKLB1JnbsQalWX1p6iddhRAIDAeEWs sI7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvCwZwQZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id y6-20020a170902ed4600b001cfa0b7c6a0si2495455plb.432.2023.11.24.12.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 12:03:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvCwZwQZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 2784A80C4D46; Fri, 24 Nov 2023 12:03:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346079AbjKXUDC (ORCPT + 99 others); Fri, 24 Nov 2023 15:03:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231847AbjKXUDA (ORCPT ); Fri, 24 Nov 2023 15:03:00 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A63C172A for ; Fri, 24 Nov 2023 12:03:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700856187; x=1732392187; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HLVyh6DP+deo0up/ANyRmz4lG2B/qVvZ0xLnHk1RxlM=; b=cvCwZwQZpE/h/lNS3zNJaAqqJoqbM5bMcRw4d1p58fAsl9oQg2lXGO+s xsKNUvnUA3JgcXNJz6ha8oKKoJrf/I3kvI/wqZX9+qcCrRYss0oOF5MaS 6cRLl4T5fX10c1ovBkq5iE6b1cUOBNSwYzBR73b0RlLo/583NjFd7Nv7u 4GPp6nyz2WPGN2fKSPWn26bow9BWlmPKKNNxqRdibuU7QBpnBZWMHKI98 U9+oeJLW9ZBJHXHnSGRmYbbYTjHv+VepMvFJxOiGwbegbEza1QfZhHtX/ Mm1SZZ/Jmt1Iv5+6ESn0yh5YOGTVfcEopkPkuViM6LcVQNc9BMjk9+eoZ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10904"; a="391338132" X-IronPort-AV: E=Sophos;i="6.04,224,1695711600"; d="scan'208";a="391338132" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 12:03:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10904"; a="1014983740" X-IronPort-AV: E=Sophos;i="6.04,224,1695711600"; d="scan'208";a="1014983740" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 24 Nov 2023 12:03:04 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 8285C1C7; Fri, 24 Nov 2023 22:03:03 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Lee Jones Subject: [PATCH v1 0/5] mfd: intel-lpss: Set of cleanups Date: Fri, 24 Nov 2023 21:31:23 +0200 Message-ID: <20231124200258.3682979-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 24 Nov 2023 12:03:29 -0800 (PST) After looking into the latest changes in the driver I noticed one wrong patch. That induced looking closer to the current state of affairs in the driver. It appears that some code is outdated and may be cleaned up. Hence this series. Andy Shevchenko (5): mfd: intel-lpss: Revert "Add missing check for platform_get_resource" mfd: intel-lpss: Use device_get_match_data() mfd: intel-lpss: Adjust header inclusions mfd: intel-lpss: Move exported symbols to INTEL_LPSS namespace mfd: intel-lpss: Provide Intel LPSS PM ops structure drivers/mfd/intel-lpss-acpi.c | 27 ++++++++++++------------ drivers/mfd/intel-lpss-pci.c | 19 ++++++++++------- drivers/mfd/intel-lpss.c | 39 +++++++++++++++++++++-------------- drivers/mfd/intel-lpss.h | 28 +------------------------ 4 files changed, 51 insertions(+), 62 deletions(-) -- 2.43.0.rc1.1.gbec44491f096