diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-10-21 19:38:12 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-11-15 10:56:55 +0100 |
commit | df4f6e8c9f089d8c8406f87df819b4d91277979c (patch) | |
tree | 285111ff8eb2a1283a12ac8f6b44c272135dfb6e /mm/page_alloc.c | |
parent | 1b3d9a93ed8313e42f108f871133346694de5ac3 (diff) | |
download | linux-df4f6e8c9f089d8c8406f87df819b4d91277979c.tar.bz2 |
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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions