soundwire: qcom: fix abh/ahb typo
authorJonathan Marek <jonathan@marek.ca>
Sat, 5 Sep 2020 17:39:02 +0000 (13:39 -0400)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Sep 2020 14:17:13 +0000 (19:47 +0530)
The function name qcom_swrm_abh_reg_read should say ahb, fix that.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200905173905.16541-2-jonathan@marek.ca
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c

index dafa3f3..d7e141b 100644 (file)
@@ -111,7 +111,7 @@ struct qcom_swrm_ctrl {
 
 #define to_qcom_sdw(b) container_of(b, struct qcom_swrm_ctrl, bus)
 
-static int qcom_swrm_abh_reg_read(struct qcom_swrm_ctrl *ctrl, int reg,
+static int qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl *ctrl, int reg,
                                  u32 *val)
 {
        struct regmap *wcd_regmap = ctrl->regmap;
@@ -746,7 +746,7 @@ static int qcom_swrm_probe(struct platform_device *pdev)
                return -ENOMEM;
 
        if (dev->parent->bus == &slimbus_bus) {
-               ctrl->reg_read = qcom_swrm_abh_reg_read;
+               ctrl->reg_read = qcom_swrm_ahb_reg_read;
                ctrl->reg_write = qcom_swrm_ahb_reg_write;
                ctrl->regmap = dev_get_regmap(dev->parent, NULL);
                if (!ctrl->regmap)