]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Clean debugfs code
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:51 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 3 May 2021 20:21:08 +0000 (13:21 -0700)
commit6062e29f5b569891720d104b2108394cd12cf2fc
treec6c7edb778618e81bc582d25bbad0ffa516fd822
parent81ceeb47fc1c9e3e92e58d37d3a609051489b355
drm/bridge: ti-sn65dsi86: Clean debugfs code

Let's cleanup the debugfs code to:
- Check for errors.
- Use devm to manage freeing, which also means we don't need to store
  a pointer in our structure.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.5.I5fe072753290c6a77eda736ebd5778e17b7cb0fb@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c