]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: magnetometer: bmc150_magn: minor formatting cleanup
authorNeel Bullywon <neelb2403@gmail.com>
Mon, 16 Feb 2026 01:54:54 +0000 (20:54 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Feb 2026 08:24:23 +0000 (08:24 +0000)
commit094d5d37d385ed99461883da013995ac2586dae0
treecd29dc4255c3f1105110f38482e7bc0351205452
parentd1fa7b316b9fc8f11f8158b1beda9150165a377c
iio: magnetometer: bmc150_magn: minor formatting cleanup

Improve initializer list style for bmc150_magn_samp_freq_table by
moving the opening brace to its own line and using one entry per line
with proper indentation and spaces inside braces.

Add spaces inside braces for initializer lists in the preset table
for consistency.

Fix indentation of bmc150_magn_scan_masks array. No functional changes.

Signed-off-by: Neel Bullywon <neelb2403@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/bmc150_magn.c