Linux driver-core infrastructure
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Fabio Forni <development@redaril.me>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
	"Fabio Forni via B4 Relay"
	<devnull+development.redaril.me@kernel.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Johan Hovold" <johan@kernel.org>,
	"Peter Rosin" <peda@lysator.liu.se>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	driver-core@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH v2 2/2] iio: afe: iio-rescale: Add platform IDs
Date: Mon, 30 Nov 2026 13:39:06 +0200	[thread overview]
Message-ID: <aw1gWga7AlYesNXa@ashevche-desk.local> (raw)
In-Reply-To: <bad51b29-1bf5-4603-ab63-bdcacc7ffd06@redaril.me>

On Sat, Nov 28, 2026 at 10:21:25AM +0100, Fabio Forni wrote:
> On 28/11/26 01:30, Jonathan Cameron wrote:
> > On Sat, 28 Nov 2026 00:22:10 +0100
> > Fabio Forni via B4 Relay <devnull+development.redaril.me@kernel.org> wrote:

...

> > I don't mind on that bit, but use a few more lines to make it easier
> > to add additional fields in future and generally make it easier to read.
> 
> Will do, but to be honest I always have a hard time syncing with
> maintainers' own style.

As a maintainer and contributor I fell your pain as  I have the same issue.

> Why isn't clang-format style simply agreed upon and enforced?

Because it doesn't fit all? At least I do not like some of the clang-format
style decisions.

> Automatic formatting would reduce cognitive effort, and chances to argue :)

Much more for bikeshedding.

> I think Go and the Black formatter for Python did the right job on that matter: one
> style, no questions.

Propose the change to the documentation, and see what will happen.
I will be one of the first to against this.

Also note:
Documentation/dev-tools/clang-format.rst
Documentation/process/4.Coding.rst:61:Note that you can also use the ``clang-format`` tool to help you with
Documentation/process/coding-style.rst:721: ...seems like the same Note as above...
Documentation/process/generated-content.rst:30

-- 
With Best Regards,
Andy Shevchenko



      reply	other threads:[~2026-11-30 11:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 23:22 [PATCH v2 0/2] iio: afe: rescale: Get driver data using platform_get_match_data() Fabio Forni via B4 Relay
2026-11-27 23:22 ` [PATCH v2 1/2] drivers: core: platform: Add platform_get_match_data() helper Fabio Forni via B4 Relay
2026-11-28  0:27   ` Jonathan Cameron
2026-11-28  9:04     ` Fabio Forni
2026-11-28 18:38       ` Jonathan Cameron
2026-11-30 11:33   ` Andy Shevchenko
2026-11-27 23:22 ` [PATCH v2 2/2] iio: afe: iio-rescale: Add platform IDs Fabio Forni via B4 Relay
2026-11-28  0:30   ` Jonathan Cameron
2026-11-28  9:21     ` Fabio Forni
2026-11-30 11:39       ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw1gWga7AlYesNXa@ashevche-desk.local \
    --to=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dakr@kernel.org \
    --cc=development@redaril.me \
    --cc=devnull+development.redaril.me@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=jic23@kernel.org \
    --cc=johan@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=peda@lysator.liu.se \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox