Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp443338lqo; Wed, 8 May 2024 04:55:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzcqL8vFsPEPWBTTip2ZDq/nVpzeCuUKenPAWGj7GJxtzYofSkC8z6yEg/MpX6sllscnHmoOBYOm5flnZ/ww9D2ViMt8Th0nG402G7jA== X-Google-Smtp-Source: AGHT+IEjTUEMbQSdcZpA+e8UQCoeSAruDn3UfU/M3TaVkvVCEeCkKhJMnG1DL/TDJ3T6im+cgXv+ X-Received: by 2002:a05:6a20:5b19:b0:1af:cea1:7ea5 with SMTP id adf61e73a8af0-1afcea17f7cmr482766637.57.1715169332735; Wed, 08 May 2024 04:55:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715169332; cv=pass; d=google.com; s=arc-20160816; b=pmBLBOzZ3wTfElk9h6GpJ7u+S8Kg4Sk7tAkOWin/Z64FRuLaifWatLdsmuhT73R3hx 3RPwaoMsWDLPp1hrj440fuYR9R7EjkocP2PgSurjNUZq/shTkH8+2JLtj3f/6yo1aEKK zlJfemChKRdYRtGimc6vAun/MdQ24uytH7A/u/6w9xw8G10ZIcQPQdldkoLtI0ereJ0b HJqrL0JXGYOygloQ/f/cDf0csrZg6I8iNRwqJRdmbPin+cx41DUZvf5Ygcyow3t0+DzJ 47c7w6XYRwlE9waLWGw8THFHmL8Jb/0ZDenlvtCnrNhi+HSQFmvr1qUBeUkWBzkmxq8k mxdQ== ARC-Message-Signature: i=2; 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:dkim-signature; bh=C7MD8GDH7HDkVU1nuxC9E6K/YzXsXcOiZy9aTGWl+gc=; fh=aFWGKdugIbyZlP5RRD2bxrwZhCsBfRwIuTbeRR6OlZg=; b=K5ei5It7PNCx/gVE2Yo3Fyk2Mk0BGRhO2YZYEkcGAUREIVPiJieLmutL0HpLi5hqjG NgngC/OR4wPsObTIu3s+eNa3MyZCeuGUQzEPW5KqG21bCD5C771XBJj1oHxPZg5k/c3s JWjQZ4lm2PLAaDfuJnq3U+1yPfZiq8oNjZS6EYRV6VQULNJtL/GzwGUC8U4xR0qfBfnu pJACFk12YZ882ekfCc0c8cCPMiJ3Z5NPz2uWBSWBIcPNwWT2erTPxYWu+kfN2BJ/kh45 LGtA3IzmY1COdd887WRkSe7UKNAcZHJpg582G8ZKOqQXjn1vSF7CsGr4d5kfdYcrYUa8 Ef3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="gbs/8Hvy"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f9-20020a056a00238900b006f4b9844547si387116pfc.142.2024.05.08.04.55.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 04:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="gbs/8Hvy"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D31A3B249CC for ; Wed, 8 May 2024 10:49:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8804681749; Wed, 8 May 2024 10:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gbs/8Hvy" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 5A1C012E7C for ; Wed, 8 May 2024 10:48:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715165334; cv=none; b=H+jPajDsOtzGPRze3184WbUngwuSmpIG67up4znILzqcmgF7nM8UAcdhUeMo4bT5RDdtq1KREcZMt2iekLLq9jw95GRZ4+BDnV+6G9PA18AaYvbUkTzvHXEfgdXe6oW4VTv1uUuDpbQdedDVj6h4Y2Lk2pIxPyyRDIDIBz59vBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715165334; c=relaxed/simple; bh=0C5AgGV462+lOg51Wn/vGwtPYKFzY44U3qnezUNglsI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IJnCOi8yp1KdEjwflE3LjTb75ryYtSoY/IEYSgBM140rzl/pbWBDrlGEnJdWFm6+4C0WX6BakFepB36SZH5sQQbOMDurr1Nagef/GnBbAUmimD4mcBH6iPnCurTJuZTXT9sRBEnCgVjiGP5joaHYmpIzxPy0Jlv3+GxZlzTmKeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gbs/8Hvy; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715165334; x=1746701334; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0C5AgGV462+lOg51Wn/vGwtPYKFzY44U3qnezUNglsI=; b=gbs/8HvyBmzJdYSyiCsETi1+kZQTOwNMfNDf7z2lSiADhdc1Zf4wUJmb +EdY7rcqIPEIFpDOF2/vtf2eFa+uWi6Q94xmucHubeVgnEEDRyqVTEUlN 0IrFTuqQhufHbjXKWcL1l+XjNeYrzHitCesIkJMHicx2x+6yAvEnlBYCe g5NqbVH5+PemFdI02OtZwhMO+QQ9vYU1FifZKZFhTKR+UBwy+vlzpetmi OCk50w3O7L0EnLdEpORo01ZL4VkF88da4DNwRVO6jG2etDDjul1ii/tsH 1hqpTQSV+MTWCal3t/PgDSKvg9YApy2P3zRVpT/f2jJMDH1JQnupWmObN g==; X-CSE-ConnectionGUID: CRLtsAbZQv2ZYXBdqfCj/w== X-CSE-MsgGUID: iWeIZse0QkizaycgLwgQsw== X-IronPort-AV: E=McAfee;i="6600,9927,11066"; a="14834627" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="14834627" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 03:48:53 -0700 X-CSE-ConnectionGUID: 2KeLlfaMRg24192bx6+kvQ== X-CSE-MsgGUID: F81GQKA7RwukcTaD0egj9g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="33319270" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa005.fm.intel.com with ESMTP; 08 May 2024 03:48:52 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 16571109; Wed, 08 May 2024 13:48:49 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Lee Jones , Linus Walleij Subject: [PATCH v1 0/2] mfd: lm3533: Get rid of legacy GPIO APIs Date: Wed, 8 May 2024 13:46:47 +0300 Message-ID: <20240508104848.846580-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Driver is quite outdated from Linux kernel internal APIs perspective. Update the GPIO part in this miniseries. The first patch to make sure noone is going to use legacy platform data. An alternative approach is to remove completely these family of drivers. Andy Shevchenko (2): mfd: lm3533: Hide legacy platform data in the driver mfd: lm3533: Move to new GPIO descriptor-based APIs drivers/mfd/lm3533-core.c | 45 +++++++++++++++++++------------------- include/linux/mfd/lm3533.h | 18 ++------------- 2 files changed, 25 insertions(+), 38 deletions(-) -- 2.43.0.rc1.1336.g36b5255a03ac