commit | 6a341fdff16e13ed1d60dbedca027df3a6a15f9b | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Mon Aug 21 18:08:42 2017 +0200 |
committer | Thierry Reding <treding@nvidia.com> | Fri Oct 20 14:19:50 2017 +0200 |
tree | 7c9d847e1656710cc69bc73e559a38ca88a8fe03 | |
parent | 9e66317d3c92ddaab330c125dfe9d06eee268aff [diff] |
gpu: host1x: Use of_device_get_match_data() Avoid some boilerplate by calling of_device_get_match_data() instead of open-coding the equivalent in the driver. While at it, shuffle around some code to avoid unnecessary local variables. Signed-off-by: Thierry Reding <treding@nvidia.com>