From: Andreas Klinger <ak@it-klinger.de>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, lars@metafoo.de,
javier.carrasco.cruz@gmail.com, mazziesaccount@gmail.com,
arthur.becker@sentec.com, perdaniel.olsson@axis.com,
mgonellabolduc@dimonoff.com, muditsharma.info@gmail.com,
clamor95@gmail.com, emil.gedenryd@axis.com,
devicetree@vger.kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] iio: light: add support for veml6046x00 RGBIR color sensor
Date: Sun, 25 May 2025 09:34:52 +0200 [thread overview]
Message-ID: <aDLIHEj4lqlgargJ@mail.your-server.de> (raw)
In-Reply-To: <aCsQKUwGeq4Ed4ai@smile.fi.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]
Hi Andy,
thanks for the review. I have a question and a comment below.
Andy Shevchenko <andriy.shevchenko@linux.intel.com> schrieb am Mo, 19. Mai 14:04:
> > +/*
> > + * veml6046x00_gain_pd - translation from gain index (used in the driver) to
> > + * gain (sensor) and PD
> > + * @gain_sen: Gain used in the sensor as described in the datasheet of the
> > + * sensor
> > + * @pd: Photodiode size in the sensor
>
> This is made to look like kernel-doc, but it's not marked as a such, why?
I'll remove the '@'
...
> > + ret = regmap_clear_bits(data->regmap, VEML6046X00_REG_CONF0,
> > + VEML6046X00_CONF0_ON_0);
>
> Something wrong with the indentation. Please, fix all places like this...
>
> > + if (ret) {
> > + dev_err(dev, "Failed to set bit for power on %d\n", ret);
> > + return ret;
> > + }
> > +
> > + return regmap_clear_bits(data->regmap, VEML6046X00_REG_CONF1,
> > + VEML6046X00_CONF1_ON_1);
>
> ...or like this.
>
> > +}
I don't get the point what is wrong with the indentation. In the coding-style it
says the decendant line should be placed to the right.
Did i miss something?
Best regards,
Andreas
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2025-05-25 7:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-19 6:08 [PATCH v4 0/3] iio:light: add driver for veml6046x00 RGBIR color sensor Andreas Klinger
2025-05-19 6:08 ` [PATCH v4 1/3] dt-bindings: iio: light: veml6046x00: add " Andreas Klinger
2025-05-19 6:08 ` [PATCH v4 2/3] iio: light: add support for veml6046x00 RGBIR " Andreas Klinger
2025-05-19 11:04 ` Andy Shevchenko
2025-05-25 7:34 ` Andreas Klinger [this message]
2025-05-25 14:16 ` Jonathan Cameron
2025-05-25 14:30 ` Jonathan Cameron
2025-05-19 6:08 ` [PATCH v4 3/3] MAINTAINER: add maintainer for veml6046x00 Andreas Klinger
-- strict thread matches above, loose matches on Subject: below --
2025-05-22 8:17 [PATCH v4 2/3] iio: light: add support for veml6046x00 RGBIR color sensor kernel test robot
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=aDLIHEj4lqlgargJ@mail.your-server.de \
--to=ak@it-klinger.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arthur.becker@sentec.com \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=emil.gedenryd@axis.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=mgonellabolduc@dimonoff.com \
--cc=muditsharma.info@gmail.com \
--cc=perdaniel.olsson@axis.com \
--cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.