[PATCH v9 05/12] nvmem: Add the Raspberry Pi OTP driver
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Thu Nov 12 22:34:28 PST 2026
Hello
[dropped Ray Jui and Scott Branden from Cc: as their addresses don't
seem to exist any more]
On Wed, Nov 11, 2026 at 08:23:27AM +0100, Gregor Herburger wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Don't include <linux/mod_devicetable.h> as that introduces a lot of
unneeded build dependencies. <linux/platform_device.h> is sufficient to
get of_device_id, so you can just drop <linux/mod_devicetable.h>.
> [...]
> +static struct platform_driver raspberrypi_otp_driver = {
> + .probe = rpi_otp_probe,
> + .driver = {
> + .name = "raspberrypi-otp",
> + },
> + .id_table = raspberrypi_otp_id,
> +};
Inconsistent use of spacing before =. If you ask me everything other than
a single space gets inconsistent over time, so I recommend sticking to
that.
Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261113/5f76bf42/attachment.sig>
More information about the linux-arm-kernel
mailing list