Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp727133lqo; Wed, 8 May 2024 12:55:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuc6K+uGaC57dYEwpQHlPzQFLknBBWr59yaC9d2DNKQ7Xf0G0N6tdTRG/E0r+Guz6e6Z58cVXT7btq7cahIJlk3/zIy05Fdi4b8onmdQ== X-Google-Smtp-Source: AGHT+IHg57wYxmBL7lBHETmteP9Qs5wVwBqnFTqjhbKqV3DirijE0j+zEAhsLDdKBvDJRG4ChuB3 X-Received: by 2002:a05:6359:4c8b:b0:192:4bf2:a397 with SMTP id e5c5f4694b2df-192d2d3a022mr423430955d.17.1715198124537; Wed, 08 May 2024 12:55:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715198124; cv=pass; d=google.com; s=arc-20160816; b=iJrusHFINJ4NvDsl6bg8tIa68LlPci9INIgaMifI9bEv0RKF/ClzdFBJhJZLaY616M 4tkjNMiXmjhgh6+aY1FfgIdkAWOkSxJjN3GS5bb3eK7ak/RlFV7jyFCMxjjNpNh2zvPW 2z3xJ/hgVKMAw8EB4TCB0HR9qPSlC9H6JtZlUOLaS2ZNpQ8RGzh3Wm/OHbRoizfd22Kp l7lexvSaQN55mSZ3euhlTUKaEtTmJgwGl3Tq+xmi/QcYKJYv4xv1woO/lLS7sB9izkfu fHBj0Kgtv4gJtTs9ngmBZzoDpYEY38CZKYvdtdhhCn33XmYguzQhxO3A9AOnWWduMjg/ omPQ== 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=6yYpAoX3m+ZGVyLmfdCdwAoTlbHIj6xgcaVrQCW320o=; fh=QFBDTEls3PpBlUl+JtYxt3LLDCyTHMHfFMoZlKiwW/A=; b=MqWFReJYF9sOvaZnX68zEC7h1ThvKRjZmalBv8A2Y/FMmHPajlNJvOs/LiyTc+wkaL NqHQmJK7c7b5Y0c6NDJL2dpezztjCR+doY8H8zAGNb59tiQ/zV/Vt2OR7RQ0cJupFqdi Qv1F8ffHXZxxyIv6QlnIIMBvRbycfXWZv8hVQOLG/5ZxaFsnpAVb64JhY1XMx15tXZ/A LKt1H28RK2zRNLVfGDFrrxvNnPGHJbUnp/TzjtblSBTlKNqJ2m1nXGr8N60D5kc6g/JG XYoBOKWahQzlnSGmBVmHpTOpuSlEHr5xN+jSpDwcUq8vV4drwvXsJ64NYvsdHgdWE0eY bGPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kPsPc8pn; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173726-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173726-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bx12-20020a056a02050c00b005f7717e8192si13451284pgb.428.2024.05.08.12.55.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 12:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173726-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kPsPc8pn; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-173726-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173726-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CCE5828B020 for ; Wed, 8 May 2024 18:49:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43A50130487; Wed, 8 May 2024 18:49:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kPsPc8pn" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 DCF8612B148 for ; Wed, 8 May 2024 18:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715194159; cv=none; b=nCpnqbdSysknA2dfnv1QbzwIMTx2e2bkYvY2+vr5GZm6+e5yD8rHwqZPYtpsCYlXQ4bORNTCMLdz10aWCGh5erReI6d8EpQvPS2HuYPjCo72V8XZA8vqJuc8+ux/z+BWLTXn0O00UzTiTZp7SZBXGz+aa3Rd/q4lFqYcpOOgG2s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715194159; c=relaxed/simple; bh=/hfXqf+HTt4Bem0bq2/vnuIng70k8rV4Ap+IFcrwpdo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ao+BSg+YoNk6f3gZk3pIxdODMDnQs2064M8rDyVdCO5jUMP69QR565OH2Wy5Otj5WM7L/6piuRHWnZ0H7SBe2FQuZTV40mVtlAHeb3Kv03jsKcdwMRJkoEkp8B248e+DLoFekgW++po6owsiLWPeJJhaHbvrIqlLoxzEuY8lvFA= 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=kPsPc8pn; arc=none smtp.client-ip=192.198.163.8 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=1715194158; x=1746730158; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/hfXqf+HTt4Bem0bq2/vnuIng70k8rV4Ap+IFcrwpdo=; b=kPsPc8pnKDNcROGB4EeI7P6fPtfNJCe8H9XWWbbdC5hhw39PYmsS1ffn T79Ky2RnBCtpawdC/EugXhg7xDxKF7DhaUTi/AUY7Rc6UCgb3bY4re3iz 9wpo8GIr9mhRknZ79h2GEf5UiyG48xlAF3uM8DkD3Ev2lKrqHWDxeyqSG VKvpv9ji5ReexZo4pe86/Ux4xv8dc3sNdiTEL8LShjRS7IGScu7Uw4GQL DEb2Wr+yUOhS+IoaQFmNbuZ4+W4FDHRLcsc9+S1F2RLW3rJF+L+3roxAf 4tlIe7Gb1fSxhI80gICKuqwGg72le64CLAmKDQLdL0dT7zxgBaHHfYN4+ g==; X-CSE-ConnectionGUID: N38XWADaTyuSB3MXm0Mn5g== X-CSE-MsgGUID: Acrpgi0tQXmnC5BvImCIfg== X-IronPort-AV: E=McAfee;i="6600,9927,11067"; a="28591013" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="28591013" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 11:49:15 -0700 X-CSE-ConnectionGUID: 51HvJbAaRAmhbNeRbyd90Q== X-CSE-MsgGUID: xPmDBIqqTLGq48gGU2AIsQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="29024948" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa006.fm.intel.com with ESMTP; 08 May 2024 11:49:13 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 708E4109; Wed, 08 May 2024 21:49:12 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Greg Kroah-Hartman , Linus Walleij Subject: [PATCH v1 00/10] misc: eeprom_93xx46: Get rid of legacy GPIO APIs Date: Wed, 8 May 2024 21:46:53 +0300 Message-ID: <20240508184905.2102633-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 The driver and its solely consumer (via platform data) are using old GPIO APIs, convert them for good. On top some spring cleanups and fixes. Andy Shevchenko (10): misc: eeprom_93xx46: Make use of device properties eeprom: digsy_mtc: Fix 93xx46 driver probe failure eeprom: digsy_mtc: Convert to use GPIO descriptors misc: eeprom_93xx46: Hide legacy platform data in the driver misc: eeprom_93xx46: Remove ->prepare() and ->finish() customisation misc: eeprom_93xx46: Use spi_message_init_with_transfers() misc: eeprom_93xx46: Convert to use kstrtox() misc: eeprom_93xx46: Replace explicit castings with proper specifiers misc: eeprom_93xx46: Use string_choices API instead of ternary operator misc: eeprom_93xx46: Convert to DEVICE_ATTR_WO() drivers/misc/eeprom/digsy_mtc_eeprom.c | 46 +++---- drivers/misc/eeprom/eeprom_93xx46.c | 178 ++++++++++++------------- include/linux/eeprom_93xx46.h | 32 ----- 3 files changed, 102 insertions(+), 154 deletions(-) delete mode 100644 include/linux/eeprom_93xx46.h -- 2.43.0.rc1.1336.g36b5255a03ac