soc: qcom: smd: Refactor channel open and close handling
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Thu, 18 Feb 2016 06:39:04 +0000 (22:39 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 30 Mar 2016 22:20:57 +0000 (17:20 -0500)
commit3fd3f2fd86478614fecbe261b201779b4fc6abd2
tree6d6c1efb72235adffcd074ecdb285612280610db
parent995b170aeaef4afe0c3469d14b9c80ff2e8a98d7
soc: qcom: smd: Refactor channel open and close handling

Refactor opening and closing of channels into two separate functions
instead of open coding this in the various places.

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