Commit 5bcd6e10 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: tcan4x5x: tcan4x5x_bus: remove not needed read_flag_mask

With C99 initializers, all non mentioned members are initialzied to 0, so
remove not needed initialization of read_flag_mask.
Reviewed-by: default avatarDan Murphy <dmurphy@ti.com>
Tested-by: default avatarSean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215231746.1132907-7-mkl@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 1784aa14
...@@ -82,7 +82,6 @@ static const struct regmap_bus tcan4x5x_bus = { ...@@ -82,7 +82,6 @@ static const struct regmap_bus tcan4x5x_bus = {
.async_write = regmap_spi_async_write, .async_write = regmap_spi_async_write,
.async_alloc = regmap_spi_async_alloc, .async_alloc = regmap_spi_async_alloc,
.read = tcan4x5x_regmap_read, .read = tcan4x5x_regmap_read,
.read_flag_mask = 0x00,
.reg_format_endian_default = REGMAP_ENDIAN_NATIVE, .reg_format_endian_default = REGMAP_ENDIAN_NATIVE,
.val_format_endian_default = REGMAP_ENDIAN_NATIVE, .val_format_endian_default = REGMAP_ENDIAN_NATIVE,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment