OpenCloudOS-Kernel/drivers/i2c
Andy Shevchenko c045214a0f i2c: designware: Use DIV_ROUND_CLOSEST() macro
Instead of open-coding DIV_ROUND_CLOSEST() and similar use the macros directly.
While at it, replace numbers with predefined SI metric prefixes.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2021-08-11 16:43:25 +02:00
..
algos
busses i2c: designware: Use DIV_ROUND_CLOSEST() macro 2021-08-11 16:43:25 +02:00
muxes i2c: muxes: i2c-arb-gpio-challenge: Demote non-conformant kernel-doc headers 2021-05-27 21:29:03 +02:00
Kconfig
Makefile
i2c-boardinfo.c
i2c-core-acpi.c ACPI: scan: Extend acpi_walk_dep_device_list() 2021-06-07 16:45:05 +02:00
i2c-core-base.c i2c: core: Disable client irq on reboot/shutdown 2021-06-24 22:03:55 +02:00
i2c-core-of.c
i2c-core-slave.c
i2c-core-smbus.c i2c: core-smbus: Expose PEC calculate function for generic use 2021-06-25 17:09:34 +02:00
i2c-core.h
i2c-dev.c i2c: dev: Add __user annotation 2021-06-24 21:47:43 +02:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-slave-testunit.c
i2c-smbus.c
i2c-stub.c