[PATCH v4 00/22] Verbatim device names and devm_nvmem_(un)register()

Andrey Smirnov andrew.smirnov at gmail.com
Wed Feb 28 06:40:44 PST 2018


Srinivas, all:

This patchset contains various small changes that I recently made to
ppNVMEM, more specifically:

 - Patches 1 and 3 are two changes I am hoping are acceptable upstream

 - Patches 4 to 15 are a follow up to patch 2

 - Patches 16 to 22 are just trivial fixups and I am more than happy
   to drop them if they seem to add more pointless churn rather then
   value.

Feedback is appreciated!

Thanks,
Andrey Smirnov

Changes since [v3]:

 - Patchset rebased on post 4.16-rc1 master from Linus

Changes since [v2]:

 - Added a patch with kerenl doc for struct nvmem_config as a
   prerequsite for patch #2

 - Documented behaviour of nvmem_register() when id is set to -1

 - Added kernel doc for devm_nvmem_(un)register()


Changes since [v1]:

 - Fixed a build break detected by kbuild test robot

 - Added a patch to unconditionally enable COMPILE_TEST for meson-efuse

 - Dropped Joachim Eastwood from CC list due to bouncing e-mail

[v3] lkml.kernel.org/r/20180103200114.23922-1-andrew.smirnov at gmail.com
[v2] lkml.kernel.org/r/20180101232310.30420-1-andrew.smirnov at gmail.com
[v1] lkml.kernel.org/r/20171227225956.14442-1-andrew.smirnov at gmail.com

Andrey Smirnov (22):
  nvmem: Document struct nvmem_config
  nvmem: core: Allow specifying device name verbatim
  nvmem: Introduce devm_nvmem_(un)register()
  nvmem: vf610-ocotp: Convert to use devm_nvmem_register()
  nvmem: imx-ocotp: Convert to use devm_nvmem_register()
  nvmem: uniphier-efuse: Convert to use devm_nvmem_register()
  nvmem: snvs_lgpr: Convert to use devm_nvmem_register()
  nvmem: qfprom: Convert to use devm_nvmem_register()
  nvmem: rockchip-efuse: Convert to use devm_nvmem_register()
  nvmem: mtk-efuse: Convert to use devm_nvmem_register()
  nvmem: meson-mx-efuse: Convert to use devm_nvmem_register()
  nvmem: meson-efuse: Convert to use devm_nvmem_register()
  nvmem: lpc18xx_otp: Convert to use devm_nvmem_register()
  nvmem: imx-iim: Convert to use devm_nvmem_register()
  nvmem: bcm-ocotp: Convert to use devm_nvmem_register()
  nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM
  nvmem: snvs_lpgpr: Convert commas to semicolons
  nvmem: rockchip-efuse: Make use of of_device_get_match_data()
  nvmem: vf610-ocotp: Do not use "&pdev->dev" explicitly
  nvmem: rockchip-efuse: Do not use "&pdev->dev" explicitly
  nvmem: imx-iim: Do not use "&pdev->dev" explicitly
  nvmem: bcm-ocotp: Do not use "&pdev->dev" explicitly

 drivers/nvmem/Kconfig          |  2 +-
 drivers/nvmem/bcm-ocotp.c      | 15 ++--------
 drivers/nvmem/core.c           | 68 ++++++++++++++++++++++++++++++++++++++++--
 drivers/nvmem/imx-iim.c        | 14 ++-------
 drivers/nvmem/imx-ocotp.c      | 12 +-------
 drivers/nvmem/lpc18xx_otp.c    | 12 +-------
 drivers/nvmem/meson-efuse.c    | 12 +-------
 drivers/nvmem/meson-mx-efuse.c | 12 +-------
 drivers/nvmem/mtk-efuse.c      | 12 +-------
 drivers/nvmem/qfprom.c         | 12 +-------
 drivers/nvmem/rockchip-efuse.c | 28 ++++++-----------
 drivers/nvmem/snvs_lpgpr.c     | 26 +++++-----------
 drivers/nvmem/uniphier-efuse.c | 12 +-------
 drivers/nvmem/vf610-ocotp.c    | 15 ++--------
 include/linux/nvmem-provider.h | 42 ++++++++++++++++++++++++++
 15 files changed, 138 insertions(+), 156 deletions(-)

-- 
2.14.3




More information about the Linux-mediatek mailing list