soc: qcom: smd: Introduce callback setter
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Thu, 18 Feb 2016 06:39:02 +0000 (22:39 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 30 Mar 2016 22:20:43 +0000 (17:20 -0500)
commit39f0db298e7c02a29371fb39cabdd5d76e6b726c
tree507cdce82c8ca4ded472546639da6b3427962d30
parent3b904b046c7adfbadb124851c7a23276f7187ddb
soc: qcom: smd: Introduce callback setter

Introduce a setter for the callback function pointer to clarify the
locking around the operation and to reduce some duplication.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smd.c
include/linux/soc/qcom/smd.h