soc: qcom: smd: Make callback pass channel reference
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 29 Mar 2016 04:35:22 +0000 (21:35 -0700)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 02:55:12 +0000 (21:55 -0500)
commitb853cb9628bfbcc4017da46d5f5b46e3eba9d8c6
tree1a5af00411dc2a4d4f731bf18a00a6e859f62aa5
parentafd356dfb3a4127b61a3519802a4db9046703724
soc: qcom: smd: Make callback pass channel reference

By passing the smd channel reference to the callback, rather than the
smd device, we can open additional smd channels from sub-devices of smd
devices.

Also updates the two smd clients today found in mainline.

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