Skip to content

nvmem: qcom-spmi-sdam: fix module autoloading

Johan Hovold linux-arm-msm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvmem: qcom-spmi-sdam: fix module autoloadingdrivers/nvmem/qcom-spmi-sdam.c+1 -00 replies
2/2nvmem: qcom-spmi-sdam: register at device init timedrivers/nvmem/qcom-spmi-sdam.c+1 -120 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjorn Andersson
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.39.1