Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbeACUBU (ORCPT + 1 other); Wed, 3 Jan 2018 15:01:20 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:41293 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbeACUBT (ORCPT ); Wed, 3 Jan 2018 15:01:19 -0500 X-Google-Smtp-Source: ACJfBouZydNMpkFNnj08DrsvHN0yw1TK71u+mbAOOvDpUMYzV+HLaL7ZcGdWqK7mDT53ob/YBgzpQg== From: Andrey Smirnov To: Srinivas Kandagatla Cc: Andrey Smirnov , Heiko Stuebner , Masahiro Yamada , Carlo Caione , Kevin Hilman , Matthias Brugger , cphealy@gmail.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 00/22] Verbatim device names and devm_nvmem_(un)register() Date: Wed, 3 Jan 2018 12:00:52 -0800 Message-Id: <20180103200114.23922-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Srinivas, all: This patchset contains various small changes that I recently made to NVMEM, 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 [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 [v2] lkml.kernel.org/r/20180101232310.30420-1-andrew.smirnov@gmail.com [v1] lkml.kernel.org/r/20171227225956.14442-1-andrew.smirnov@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: rockchip-efuse: Convert to use devm_nvmem_register() nvmem: qfprom: 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