mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
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>
This commit is contained in:
parent
cb8d5daae9
commit
97b7925a5c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user