Add generic mmc_helper which uses device_get_property api.
Rename mmc_fdt_helper structure to mmc_helper to get rid of redundant code.
Differential D31598
mmc_helper: add mmc_helper and rename mmc_fdt_helper to mmc_helper bag_semihalf.com on Aug 18 2021, 8:49 AM. Authored by Tags None Referenced Files
Subscribers
Details Add generic mmc_helper which uses device_get_property api. Rename mmc_fdt_helper structure to mmc_helper to get rid of redundant code.
Diff Detail
Event TimelineComment Actions Code looks ok but that will break out of tree drivers (even if I'm sure that no such out of tree drivers using mmc_fdt_helpers exists) so I'm not too sure about this change. Comment Actions I can add a macro like this somewhere in mmc_fdt_helper.h header, to keep it backwards compatible. #define mmc_fdt_helper mmc_helper Comment Actions I've added the macro. Should I revert the changes in other drivers? I didn't do it now, cause I think this could encourage people to use the new structure. |