]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: sja1105: Use units.h instead of the copy of a definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Nov 2023 17:50:27 +0000 (19:50 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 04:12:17 +0000 (20:12 -0800)
commit4b86d7c64e8f69824b9b2cc0e9b72842ac2d0e62
tree79a966fcfbee536bd91b29dcf9cfd2b3ddb4c621
parent5de7796dffcde224eba00d05fe030e2b99d286fa
net: dsa: sja1105: Use units.h instead of the copy of a definition

BYTES_PER_KBIT is defined in units.h, use that definition.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20231128175027.394754-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/sja1105/sja1105_main.c