]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: qcom: rpmh: fix macro to accept NULL argument
authorMaulik Shah <mkshah@codeaurora.org>
Mon, 3 Feb 2020 13:35:34 +0000 (19:05 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 12 Feb 2020 06:15:02 +0000 (22:15 -0800)
commit9740ee342a3f2994719a557c75a16edccbc6974c
tree56228d0e2c80aaec0e2465ad6c9be1da4ac5a0db
parent9f9285b96014e47599924b03ab0c07fa1549e04b
drivers: qcom: rpmh: fix macro to accept NULL argument

Device argument matches with dev variable declared in RPMH message.
Compiler reports error when the argument is NULL since the argument
matches the name of the property. Rename dev argument to device to
fix this.

Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1580736940-6985-2-git-send-email-mkshah@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/rpmh.c