soc: qcom: rmtfs-mem: Add class to enable uevents
authorEvan Green <evgreen@chromium.org>
Thu, 3 Jan 2019 00:02:12 +0000 (16:02 -0800)
committerAndy Gross <andy.gross@linaro.org>
Fri, 1 Feb 2019 22:08:27 +0000 (16:08 -0600)
commitb4aa93bca91318a8cf832b9fd34a830e44660d50
tree5350f1d5869ded875a592f3efce28e6d5ba5a86e
parent4eccc154b3866e59358f1102045d23a301dffe0a
soc: qcom: rmtfs-mem: Add class to enable uevents

Currently the qcom_rmtfs_memN devices are entirely invisible to the udev world.
Add a class to the rmtfs device so that uevents fire when the device is added.

Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/rmtfs_mem.c