diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-21 08:21:15 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-05 19:33:03 +0900 |
commit | 3dede7f9b37fbf7e0471e1d14f8eff540fcc87ea (patch) | |
tree | 4a4115312759144464e99a92a003fc1e6fe0426b /drivers | |
parent | 0d43bff5196d2d2c00055470281a11ccfafa740f (diff) | |
download | linux-3dede7f9b37fbf7e0471e1d14f8eff540fcc87ea.tar.bz2 |
ata: pata_cypress: convert printk() calls
Convert printk() calls to structured logging.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/pata_cypress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cypress.c b/drivers/ata/pata_cypress.c index 5b3a7a8ebef6..3be5d52a777b 100644 --- a/drivers/ata/pata_cypress.c +++ b/drivers/ata/pata_cypress.c @@ -62,7 +62,7 @@ static void cy82c693_set_piomode(struct ata_port *ap, struct ata_device *adev) u32 addr; if (ata_timing_compute(adev, adev->pio_mode, &t, T, 1) < 0) { - printk(KERN_ERR DRV_NAME ": mome computation failed.\n"); + ata_dev_err(adev, DRV_NAME ": mome computation failed.\n"); return; } |