mmc-utils: lsmmc: Allow getting registers value as an argument
<reg> read was invented to read the register value from its sysfs entry.
However, often we are getting the register value from customers or field
application engineers for analysis, without having the actual platform.
Allow to parse the content of those registers for those cases as well.
While at it, remove some unused fields from struct config.
Signed-off-by: Avri Altman <avri.altman@sandisk.com>
Link: https://lore.kernel.org/r/20250310055231.304728-7-avri.altman@sandisk.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 file changed