]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: max77759: Improve static struct formatting and commentary
authorAmit Sunil Dhamne <amitsd@google.com>
Mon, 4 May 2026 22:49:54 +0000 (22:49 +0000)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:32:03 +0000 (11:32 +0100)
commit7b7b7fa42d08087a9d5f3d49453dbe721cbbd2d4
tree9251c9ce53e1e2c76a941b6b8e8d31d2f1dd0c8f
parent5618127fed7e8f974b3615d429ffdea670b203be
mfd: max77759: Improve static struct formatting and commentary

Improve code style. This includes the following:
- Formatting the max77759_chgr_irqs entries to fit in a single line
  instead of breaking them into multiple lines to improve readability.

- Refactoring comments such that they're full sentences and have
  punctuation marks for a couple of macro definitions to adhere to the
  documentation style.

- Explicitly initializing `MAX77759_CHGR_MODE_OFF`.

Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Link: https://patch.msgid.link/20260504-fix-mfd-max77759-driver-v1-1-4d4a31a1d214@google.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/max77759.c
include/linux/mfd/max77759.h