[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230126133034.27491-1-johan+linaro@kernel.org>
Date: Thu, 26 Jan 2023 14:30:32 +0100
From: Johan Hovold <johan+linaro@...nel.org>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Johan Hovold <johan+linaro@...nel.org>
Subject: [PATCH 0/2] nvmem: qcom-spmi-sdam: fix module autoloading
The Qualcomm SDAM nvme driver did not have a module device table, which
prevents userspace from autoloading the driver when built as a module.
The driver was also being registered at subsys init time when built in
despite the fact that it can also be built as a module, which makes
little sense. There are currently no in-tree users of this driver and
there's no reason why we can't just let driver core sort out the probe
order.
Note that this driver will be used to implement support for the PMIC RTC
on Qualcomm platforms where the time registers are read-only (sic).
Johan
Johan Hovold (2):
nvmem: qcom-spmi-sdam: fix module autoloading
nvmem: qcom-spmi-sdam: register at device init time
drivers/nvmem/qcom-spmi-sdam.c | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
--
2.39.1
Powered by blists - more mailing lists