diff options
| author | Kees Cook <keescook@chromium.org> | 2013-03-11 01:10:06 +0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-14 00:16:45 +0400 |
| commit | 647416f9eefe7699754b01b9fc82758fde83248c (patch) | |
| tree | faa5376b3b2f37cf5ae4353b1d7a506a88c16454 /tools/perf/scripts/python/bin | |
| parent | 5c67eeb6bf7eef062c835a64b501f3c926712fa5 (diff) | |
| download | linux-647416f9eefe7699754b01b9fc82758fde83248c.tar.xz | |
drm/i915: use simple attribute in debugfs routines
This replaces the manual read/write routines in debugfs with the common
simple attribute helpers. Doing this gets rid of repeated copy/pasting
of copy_from_user and value formatting code.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
[danvet: Squash in follow-up fix from Kees Cook to fix u64 divides on
32bit platforms.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
