Re: [PATCH v6 3/5] i2c: add support for HiSilicon I2C controller

From: Wolfram Sang
Date: Tue Apr 06 2021 - 16:02:57 EST



Only super minor stuff. Thanks to all the contributors and reviewers!

> +#define HZ_PER_KHZ 1000

KHZ_PER_HZ?

> + ret = devm_i2c_add_adapter(dev, adapter);
> + if (ret) {
> + dev_err(dev, "failed to add i2c adapter, ret = %d\n", ret);

No need to print that. The core prints messages on failures.

Attachment: signature.asc
Description: PGP signature