diff --git a/soc/swr-mstr-ctrl.c b/soc/swr-mstr-ctrl.c index f5e503efd1dd..30c1f14c416f 100644 --- a/soc/swr-mstr-ctrl.c +++ b/soc/swr-mstr-ctrl.c @@ -311,7 +311,7 @@ static int swrm_clk_request(struct swr_mstr_ctrl *swrm, bool enable) complete(&swrm->clk_off_complete); } if (swrm->clk_ref_count < 0) { - pr_err("%s: swrm clk count mismatch\n", __func__); + dev_err(swrm->dev, "%s: swrm clk count mismatch\n", __func__); swrm->clk_ref_count = 0; }