Skip to content

Commit

Permalink
ata: sata_gemini: convert pr_err() calls
Browse files Browse the repository at this point in the history
Convert pr_err() calls to dev_err()

Signed-off-by: Hannes Reinecke <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
  • Loading branch information
hreinecke authored and Damien Le Moal committed Jan 5, 2022
1 parent cb8d5da commit 97b7925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ata/sata_gemini.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 97b7925

Please sign in to comment.