On Thu, Apr 03, 2014 at 12:44:54PM +0900, Jingoo Han wrote:
> Use of_match_ptr(), because of_match_ptr() returns NULL pointer
> when CONFIG_OF is disabled.
> 
> Signed-off-by: Jingoo Han <[email protected]>
> ---
> Changes since v1:
> - Add of_match_ptr() to of_match_device() in order to fix compile error
>   when CONFIG_OF=n.
> 
>  drivers/pwm/pwm-pxa.c |    7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

I already fixed this in the PWM tree before submitting the 3.15 pull
request. What I did was rather revert the original patch because given
the use in pxa_pwm_get_id_dt() there isn't any real advantages to using
of_match_ptr() anymore.

Thierry

Attachment: pgpTMZe8jEDKP.pgp
Description: PGP signature

Reply via email to