lkml.org 
[lkml]   [2020]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] leds: Use DEVICE_ATTR_{RW, RO, WO} macros
On Sun, Dec 13, 2020 at 7:21 PM Joe Perches <joe@perches.com> wrote:
>
> clang-format is not a tool to rewrite code only neaten its layout.
>
> coccinelle _might_ be able to do this for limited cases where the
> show function is in the same compilation unit/file, but even then
> it would not be a trivial script.

+1 The most robust approach, but the one that is most involved, would
be a clang-tidy check.

Cheers,
Miguel

\
 
 \ /
  Last update: 2020-12-13 20:50    [W:0.066 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site