summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_gemini.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-12-21 10:21:26 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-05 13:33:03 +0300
commit97b7925a5cb44dae4b9f0c8f1b22427521b1de8d (patch)
treeb48a3878e0d5633324ed72d76f1f605b88b87397 /drivers/ata/sata_gemini.c
parentcb8d5daae9adcc5dac44c068d5d795056aa6d30c (diff)
downloadlinux-97b7925a5cb44dae4b9f0c8f1b22427521b1de8d.tar.xz
ata: sata_gemini: convert pr_err() calls
Convert pr_err() calls to dev_err() Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/sata_gemini.c')
-rw-r--r--drivers/ata/sata_gemini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_gemini.c b/drivers/ata/sata_gemini.c
index f793564f3d78..440a63de20d0 100644
--- a/drivers/ata/sata_gemini.c
+++ b/drivers/ata/sata_gemini.c
@@ -253,12 +253,12 @@ static int gemini_sata_bridge_init(struct sata_gemini *sg)
ret = clk_prepare_enable(sg->sata0_pclk);
if (ret) {
- pr_err("failed to enable SATA0 PCLK\n");
+ dev_err(dev, "failed to enable SATA0 PCLK\n");
return ret;
}
ret = clk_prepare_enable(sg->sata1_pclk);
if (ret) {
- pr_err("failed to enable SATA1 PCLK\n");
+ dev_err(dev, "failed to enable SATA1 PCLK\n");
clk_disable_unprepare(sg->sata0_pclk);
return ret;
}