This small series refactors the service parsing logic in the QAT driver by replacing hard-coded service strings with a more flexible approach. The first patch removes an unnecessary export. The second patch reworks the service parsing logic to allow being extended in future. Giovanni Cabiddu (1): crypto: qat - do not export adf_cfg_services Małgorzata Mielnik (1): crypto: qat - refactor service parsing logic .../intel/qat/qat_420xx/adf_420xx_hw_data.c | 16 +- .../intel/qat/qat_4xxx/adf_4xxx_hw_data.c | 11 +- .../intel/qat/qat_common/adf_accel_devices.h | 1 + .../intel/qat/qat_common/adf_cfg_services.c | 167 +++++++++++++++--- .../intel/qat/qat_common/adf_cfg_services.h | 26 ++- .../intel/qat/qat_common/adf_cfg_strings.h | 6 +- .../intel/qat/qat_common/adf_gen4_config.c | 15 +- .../intel/qat/qat_common/adf_gen4_hw_data.c | 26 ++- .../intel/qat/qat_common/adf_gen4_hw_data.h | 1 + .../crypto/intel/qat/qat_common/adf_sysfs.c | 12 +- 10 files changed, 202 insertions(+), 79 deletions(-) -- 2.48.1