commit | df4f6e8c9f089d8c8406f87df819b4d91277979c | [log] [tgz] |
---|---|---|
author | Corentin Labbe <clabbe.montjoie@gmail.com> | Sat Oct 21 19:38:12 2017 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Nov 15 10:56:55 2017 +0100 |
tree | 285111ff8eb2a1283a12ac8f6b44c272135dfb6e | |
parent | 1b3d9a93ed8313e42f108f871133346694de5ac3 [diff] |
pwm: sunxi: Use of_device_get_match_data() The usage of of_device_get_match_data reduce the code size a bit. Furthermore, it prevents an improbable dereference when of_match_device() returns NULL. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>