Thread (36 messages) 36 messages, 6 authors, 2024-11-08

Re: [PATCH 1/9] mfd: Add driver for Photonicat power management MCU

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2024-09-08 08:14:41
Also in: linux-devicetree, linux-hwmon, linux-leds, linux-pm, linux-rockchip, linux-rtc, linux-watchdog, lkml

On 07/09/2024 16:33, Junhao Xie wrote:
On 2024/9/7 16:44, Markus Elfring wrote:
quoted
quoted
+++ b/include/linux/mfd/photonicat-pmu.h
@@ -0,0 +1,86 @@
quoted
+#ifndef _PHOTONICAT_PMU_H
+#define _PHOTONICAT_PMU_H
…

I suggest to omit leading underscores from such identifiers.
https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

Regards,
Markus
Thanks for your suggestion, does this look better?
#ifndef MFD_PHOTONICAT_PMU_H
#define MFD_PHOTONICAT_PMU_H
<form letter>
Feel free to ignore all comments from Markus, regardless whether the
suggestion is reasonable or not. This person is banned from LKML and
several maintainers ignore Markus' feedback, because it is just a waste
of time.
</form letter>

Best regards,
Krzysztof

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help