commit | 5403cb39c124c444babec51bd4499971cd86ccfa | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Jan 18 08:29:23 2017 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Fri Jan 20 16:27:33 2017 +0100 |
tree | 7a3a23cfcd24ce1856eca10ba8c067d3f9130a4d | |
parent | 13b99f2a898a67320499e538303a689a270bb7f4 [diff] |
xf86drm: Reuse sysfs_uevent_get() Recent patches for USB, platform and host1x bus support introduced the sysfs_uevent_get() function that provides a generic way of parsing the sysfs uevent file that is associated with each device in Linux. Open-coded variants of this still exist in other places, so make those reuse the new function to remove some code duplication. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>