The first patch improves handling of a device general purpose log directory by avoiding repeated accesses to it using a cache. The following 2 patches are simple cleanups that do not introduce functional changes. Damien Le Moal (3): ata: libata-core: Cache the general purpose log directory ata: libata-core: Make ata_dev_cleanup_cdl_resources() static ata: libata-eh: Rename and make ata_set_mode() static drivers/ata/libata-core.c | 45 ++++++++++++++++++++++++++++++++----- drivers/ata/libata-eh.c | 11 ++++----- drivers/ata/libata.h | 2 -- drivers/ata/pata_optidma.c | 4 +++- drivers/ata/pata_pcmcia.c | 4 ++-- drivers/ata/pata_pdc2027x.c | 2 +- drivers/ata/sata_sil.c | 2 +- include/linux/libata.h | 5 ++++- 8 files changed, 56 insertions(+), 19 deletions(-) -- 2.50.0