[PATCH v5 1/3] i2c: spacemit: drop useless spaces
Andi Shyti
andi.shyti at kernel.org
Wed Jan 14 15:11:57 PST 2026
Hi Troy,
On Fri, Dec 26, 2025 at 04:31:59PM +0800, Troy Mitchell wrote:
> Previously, the I2C driver had an extra leading space in column 0 of
> included header lines. This commit removes the redundant whitespace.
>
> Signed-off-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
I merged just this patch to i2c/i2c-host so that you don't need
to carry it around.
> - #include <linux/clk.h>
> - #include <linux/i2c.h>
> - #include <linux/iopoll.h>
> - #include <linux/module.h>
> - #include <linux/of_address.h>
> - #include <linux/platform_device.h>
There was a little conflict here which was easy to fix because
linux/reset.h has been included in the meantime.
Thanks,
Andi
> +#include <linux/clk.h>
> +#include <linux/i2c.h>
> +#include <linux/iopoll.h>
> +#include <linux/module.h>
> +#include <linux/of_address.h>
> +#include <linux/platform_device.h>
>
> /* spacemit i2c registers */
> #define SPACEMIT_ICR 0x0 /* Control register */
>
> --
> 2.52.0
>
More information about the linux-riscv
mailing list