Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.
Signed-off-by: Jingoo Han
---
drivers/extcon/extcon-adc-jack.c |2 +-
1 file changed, 1 insertion(+), 1
Use the wrapper function for retrieving the platform data instead of
accessing dev-platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.
Signed-off-by: Jingoo Han jg1@samsung.com
---
drivers/extcon/extcon-adc-jack.c |2 +-
1 file changed,
2 matches
Mail list logo