spmi: Include OF based modalias in device uevent
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 29 Jun 2017 21:46:44 +0000 (14:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 13:00:47 +0000 (15:00 +0200)
commitd50daa2af2618dab6d21634e65a5fbcf4ae437d6
tree6b152d6619d34050626f6e20cc2df794266d09ff
parent00b40d613352c623aaae88a44e5ded7c912909d7
spmi: Include OF based modalias in device uevent

Include the OF-based modalias in the uevent sent when registering SPMI
devices, so that user space has a chance to autoload the kernel module
for the device.

Tested-by: Rob Clark <robdclark@gmail.com>
Reported-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi.c