iio: magnetometer: hmc5843_spi: remove bits_per_word = 8
authorDavid Lechner <dlechner@baylibre.com>
Mon, 5 May 2025 19:20:37 +0000 (14:20 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:20:31 +0000 (14:20 +0100)
commitc48919febc15b7af18be38ba47a43594aa3ccf8a
tree401485758aa96ac93041e70c54e962d58d17cd28
parent6a1ebdb8a352bfdd53e726a15827a5d0485bad0f
iio: magnetometer: hmc5843_spi: remove bits_per_word = 8

Remove setting bits_per_word = 8 from the hmc5843 driver. This is the
default value for SPI transfers, so it is not necessary to explicitly
set it.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250505-iio-remove-bits_per_word-8-v1-10-341f85fcfe11@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/hmc5843_spi.c