]> Gentwo Git Trees - linux/.git/commit
ata: libata-core: Simplify ata_print_version_once
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 11 Apr 2025 05:59:09 +0000 (07:59 +0200)
committerDamien Le Moal <dlemoal@kernel.org>
Sun, 20 Apr 2025 23:52:48 +0000 (08:52 +0900)
commite8866e26f5e8ec551eec73dca1c30d458f9dca86
treef1972e565fa9b5bf027ae168d3b4f317713d6b07
parent9d7a0577c9db35c4cc52db90bc415ea248446472
ata: libata-core: Simplify ata_print_version_once

Use dev_dbg_once() instead of open-coding the once functionality.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c
include/linux/libata.h