Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp466578lqr; Wed, 5 Jun 2024 11:00:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpmm/yYxnIbe3+yaBLjRMkFr9JQjCGLSm4uaqlxZ1dKfdMCJQlMbRzQX1sYJufIOh0tpN7TfUQ1qbWY/qXLx25Kt4r5gslj4ZrirKBgA== X-Google-Smtp-Source: AGHT+IHhyk1LBAq8qyY0PhENJ4wQASRP0S5muKYUPOthdOcLg3NhMkEyjQonVWhibQK2zhaoQBIA X-Received: by 2002:a37:c207:0:b0:792:c3ca:6454 with SMTP id af79cd13be357-79523fc228fmr331013585a.59.1717610447330; Wed, 05 Jun 2024 11:00:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717610447; cv=pass; d=google.com; s=arc-20160816; b=X1vgVteRxewyS7Pqn3ahhMMQz0bkV3DK87KfcSCTsnCmXQ4WoONJXcDynR70Cb7Hx0 3uXlvWD+zCCoMNPQaqmU2pRf4ltynZ18BRRu3eWaQLNtfmWpZQ1Fil6+4GisRuBcRAkm NnMT2kIjlwBSHW0FlweFeuJxu+5UZNP5wvxpxHM+z7fdXuGhHxLZm9cj7aV15erYAkWU tvdtyzxU2EjKaDdqqk3zS3p56QOCFyPfR0A/vAvb7j83yKuJ06xsccB+KfuiaR2EKCZA aD2JXzivS5cTevdNB/V55e/8nDB8i6qJXpaxr5fUFTgOromZnbCLe/LGCmyI0AT3yBgb 2Rzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=w5RPl7PD7LMs1k1njsQ/RXiUssQb7CTl+XBmOvI3R5A=; fh=2FUlGfUTTP5JUiRx8Nq4KY5I28oD7o60ffgWUbizXqo=; b=SxxdvsGr6GDEfDwTL0jrvmYJ9BY18oqmJyqF0ap+gZI6eVVWQSButLzzIbRi16GJiX NKs02WZ9ESViFd7Wbqz0nd2Hoz/a29YQ7DU6zYrCwAEu8KCTLCuOvdfKxBizWWE2cNAw 6KrBslWxIRmaM9Mo+Sy5nnbIbUI9eZmqd8Yc52ChN5719n9TAI0NMdiK/fgQ61yc9jXY 0jB5pYrIL5nu6xpqWEQMwGxwGIt2ulcNPGzydFKyiiMQdkktO+oZwYEt6HCoS+ym80TD KQzbilRf5+42bfkkZeIAxl7XkFzsJaDy5pRuaZK6X5IFWb74IU37H5tj2e2jT/Unnk2a nyjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=OyMmHgy1; arc=pass (i=1 spf=pass spfdomain=flex--joychakr.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-203004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44035e740f7si3815201cf.765.2024.06.05.11.00.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 11:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203004-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; dkim=pass header.i=@google.com header.s=20230601 header.b=OyMmHgy1; arc=pass (i=1 spf=pass spfdomain=flex--joychakr.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-203004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 41AAD1C2357D for ; Wed, 5 Jun 2024 18:00:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BABF913D625; Wed, 5 Jun 2024 18:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="OyMmHgy1" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A59D9194AF2 for ; Wed, 5 Jun 2024 18:00:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717610404; cv=none; b=rLMt6ePhLZTUT0eBTEeoQmw9G6FzBl8upewnigvMCoHg+6WgMtMHQKtP0uLgUyqqKo1ZZbpXNebjN5ASHyQzpCVXJPwVviiOGnrN4t+MpnGoWhd9iioY/4No4RUciLdtXORv2581F8pN/fUl8LZHXUB5wzfT7aFzB8uAcZ9O2OU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717610404; c=relaxed/simple; bh=BxoABlKvJef+pUpKvjxVkdFoF53gAB3xVu8cHZaGBrk=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=GFc3GD9t6ylR6eFVFON0P6W+zu6bV8uoaqUTN16NSISNnLu6DoStT69P9uv7eHTQ6maoPuLqZ3WOpNeB+f58ngvXAeXGOjuGiQrAJCbS1lXSbP63EmxNKG50j2WZXLC0Iwu4OQymNvOJYcf0+KSnTqBUB5qKFaXpDQ1C5945TPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--joychakr.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=OyMmHgy1; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--joychakr.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-62a089511f9so15297937b3.1 for ; Wed, 05 Jun 2024 11:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717610401; x=1718215201; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=w5RPl7PD7LMs1k1njsQ/RXiUssQb7CTl+XBmOvI3R5A=; b=OyMmHgy1OprhTZCk1PpY0KDM++WlQ1Edw2Mps1X0EgJF2iRBA3+tnZUd98ocPSXWN7 I5HJFrKZWoDLgPm7SDxl1bkWvzGz18zxNjGoXmNXX1/JRy6wFqUXPM4fg6njQ4saM2A8 yLMbKusUCgwnE0ITdDiMX3hsSX1dBE5GBbZOTqY8dwoA8iLHbnfmjPCwDmWjbzvPqRvX jE0jfYNVECTVlFMrLnVd2AQ5Xmr6HOM3bKPb3xt0oUX/V9PhfG/3FV6uK6EMbBp8IkTk 9k2llsKW20VKa+QhtGVJt5Ip8/G/LiZr0xSkvjVn57gLonJE8lQKc2VUpPo0iQIWkuHq QWrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717610401; x=1718215201; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=w5RPl7PD7LMs1k1njsQ/RXiUssQb7CTl+XBmOvI3R5A=; b=WAhzV4el03rgNAz/gd5FQGQxBeU8C8KoyMlCljiOPhJjEyRG51ksuob/I5RkEaXpUy i7Ag+Jd5MfWS6r++PtQZrxZZZBql8BP8K3Zm//ypTsbWdWH+2OHHg1/AtUZ9LWHrnOrr Z4+GhO+g6QCvDxd88QKrlBQdTPHaVnBhmArEhonE+7aQR6Lrubh2yJKQ1f61zwcFzVy3 azM+I44xqu5ZDKKVSeIdzhJkBAH+W/4uZn7n3hWZouBuSkfAJHpN3aKnKsov1Liqa+RW Xe5EdYxkDX+eB2Gr/cKYi5bDPeQHUW6N2G4pv+reOKJMlsV88EoMD4hZV9Livfezz/XX Jw4A== X-Forwarded-Encrypted: i=1; AJvYcCVWRd3ye+94YgZtzwsKnK01IoAaafgh5lf5NoIJ+3IMg88MlbVfj8Jv2hhbdatUtlLNFbvGw9pvXdi8urwukUFt7bHxJZ4v12yHl6Dl X-Gm-Message-State: AOJu0YwFXawrsDbhUeGJuqnyPDCaWhxumKbFdJQgr+qXu2Y7sILTuchA qxRoRIYYtr5HkcOudBkCHWhAoRIm0zl/fLeL0XRPHTu3jFQc2+SEyIKEI//k1paqiUSLwn7pnYP bQ/3ZLXLS3A== X-Received: from joychakr.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:6ea]) (user=joychakr job=sendgmr) by 2002:a05:6902:987:b0:dfa:7552:e09e with SMTP id 3f1490d57ef6-dfade7e34cbmr71646276.0.1717610400689; Wed, 05 Jun 2024 11:00:00 -0700 (PDT) Date: Wed, 5 Jun 2024 17:59:44 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.45.1.467.gbab1589fc0-goog Message-ID: <20240605175953.2613260-1-joychakr@google.com> Subject: [PATCH v1 00/17] nvmem: Handle change of return type in reg_read/write() definition From: Joy Chakraborty To: Srinivas Kandagatla , Greg Kroah-Hartman , AngeloGioacchino Del Regno , Lars-Peter Clausen , Sakari Ailus , Bingbu Cao , Zhihao Cheng , Jerome Brunet , Martin Blumenstingl Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-media@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mtd@lists.infradead.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, manugautam@google.com, Joy Chakraborty Content-Type: text/plain; charset="UTF-8" This patch series facilitates compilation post the change in definition of nvmem_reg_read_t and nvmem_reg_write_t callback in https://lore.kernel.org/all/171751721565.70889.16944298203785853489.b4-ty@linaro.org/ Currently the nvmem core change is picked on https://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git/log/?h=for-next --- V1 Changes : Change read/write return type to ssize_t and handle relevant logic changes --- Joy Chakraborty (17): hwmon: pmbus: adm1266: Change nvmem reg_read/write return type media: i2c: ov2740: Change nvmem reg_read/write return type media: i2c: video-i2c: Change nvmem reg_read/write return type iio: pressure: bmp280: Change nvmem reg_read/write return type misc: ds1682: Change nvmem reg_read/write return type misc: eeprom: at24: Change nvmem reg_read/write return type misc: eeprom: at25: Change nvmem reg_read/write return type misc: eeprom: 93xx46: Change nvmem reg_read/write return type misc: mchp_pci1xxxx: Change nvmem reg_read/write return type mtd: core: Change nvmem reg_read/write return type mtd: ubi: nvmem: Change nvmem reg_read/write return type soc: atmel: sfr: Change nvmem reg_read/write return type w1: slaves: w1_ds250x: Change nvmem reg_read/write return type thunderbolt: switch: Change nvmem reg_read/write return type thunderbolt: retimer: Change nvmem reg_read/write return type soc: tegra: fuse: Change nvmem reg_read/write return type rtc: Change nvmem reg_read/write return type drivers/hwmon/pmbus/adm1266.c | 4 +- drivers/iio/pressure/bmp280-core.c | 14 ++++--- drivers/media/i2c/ov2740.c | 6 +-- drivers/media/i2c/video-i2c.c | 9 +++-- drivers/misc/ds1682.c | 16 +++----- drivers/misc/eeprom/at24.c | 10 +++-- drivers/misc/eeprom/at25.c | 11 +++--- drivers/misc/eeprom/eeprom_93xx46.c | 12 +++--- .../misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c | 16 ++++---- drivers/mtd/mtdcore.c | 18 ++++----- drivers/mtd/ubi/nvmem.c | 6 +-- drivers/rtc/rtc-abx80x.c | 15 +++---- drivers/rtc/rtc-cmos.c | 8 ++-- drivers/rtc/rtc-ds1305.c | 18 ++++++--- drivers/rtc/rtc-ds1307.c | 22 +++++++---- drivers/rtc/rtc-ds1343.c | 18 ++++++--- drivers/rtc/rtc-ds1511.c | 12 +++--- drivers/rtc/rtc-ds1553.c | 14 ++++--- drivers/rtc/rtc-ds1685.c | 14 ++++--- drivers/rtc/rtc-ds1742.c | 14 ++++--- drivers/rtc/rtc-ds3232.c | 22 +++++++---- drivers/rtc/rtc-isl12026.c | 12 +++--- drivers/rtc/rtc-isl1208.c | 8 ++-- drivers/rtc/rtc-m48t59.c | 12 +++--- drivers/rtc/rtc-m48t86.c | 12 +++--- drivers/rtc/rtc-max31335.c | 18 ++++++--- drivers/rtc/rtc-meson.c | 18 ++++++--- drivers/rtc/rtc-omap.c | 12 +++--- drivers/rtc/rtc-pcf2127.c | 20 ++++++---- drivers/rtc/rtc-pcf85063.c | 20 +++++++--- drivers/rtc/rtc-pcf85363.c | 39 ++++++++++++------- drivers/rtc/rtc-rp5c01.c | 14 ++++--- drivers/rtc/rtc-rv3028.c | 32 +++++++++------ drivers/rtc/rtc-rv3029c2.c | 20 +++++++--- drivers/rtc/rtc-rv3032.c | 24 ++++++++---- drivers/rtc/rtc-rv8803.c | 16 +++++--- drivers/rtc/rtc-rx8581.c | 39 ++++++++++++------- drivers/rtc/rtc-stk17ta8.c | 14 ++++--- drivers/rtc/rtc-sun6i.c | 8 ++-- drivers/rtc/rtc-ti-k3.c | 16 +++++--- drivers/rtc/rtc-twl.c | 20 +++++++--- drivers/soc/atmel/sfr.c | 11 ++++-- drivers/soc/tegra/fuse/fuse-tegra.c | 6 +-- drivers/thunderbolt/retimer.c | 8 ++-- drivers/thunderbolt/switch.c | 8 ++-- drivers/w1/slaves/w1_ds250x.c | 4 +- 46 files changed, 408 insertions(+), 282 deletions(-) -- 2.45.1.467.gbab1589fc0-goog