aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2024-02-20 08:34:06 +0000
committerTudor Ambarus <[email protected]>2024-02-26 10:35:05 +0000
commit0e164238bb0752e341f01639438c35822d4488b2 (patch)
tree8a59d5df8530dfcd300d96e83bca6fcbdadf0156 /drivers/usb/cdns3/cdns3-trace.c
parentdt-bindings: mtd: spi-nor: add optional interrupts property (diff)
downloadkernel-0e164238bb0752e341f01639438c35822d4488b2.tar.gz
kernel-0e164238bb0752e341f01639438c35822d4488b2.zip
mtd: spi-nor: core: rework struct spi_nor_erase_region
Encoding bitmask flags into offset worsen the code readability. The erase type mask and flags should be stored in dedicated members. Also, erase_map.uniform_erase_type can be removed as it is redundant. Signed-off-by: Takahiro Kuwano <[email protected]> Suggested-by: Michael Walle <[email protected]> Reviewed-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/8e5e9e4081ed9f16ea9dce30693304a4b54d19b1.1708404584.git.Takahiro.Kuwano@infineon.com [ta: remove spi_nor_region_end()] Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions