[RESEND, PATCH v7 02/11] pwm: mediatek: droping the check for of_device_get_match_data

2019-09-17 Thread Sam Shih
This patch drop the check for of_device_get_match_data. Due to the only way call driver probe is compatible match. The .data pointer which point to the SoC specify data is directly set by driver, and it should not be NULL in our case. We can safety remove the check for of_device_get_match_data. Si

[PATCH v7 02/11] pwm: mediatek: droping the check for of_device_get_match_data

2019-08-29 Thread Sam Shih
This patch drop the check for of_device_get_match_data. Due to the only way call driver probe is compatible match. The .data pointer which point to the SoC specify data is directly set by driver, and it should not be NULL in our case. We can safety remove the check for of_device_get_match_data. Si