[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210406200248.GH3122@kunai>
Date: Tue, 6 Apr 2021 22:02:48 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Yicong Yang <yangyicong@...ilicon.com>
Cc: andriy.shevchenko@...ux.intel.com, linux-i2c@...r.kernel.org,
Sergey.Semin@...kalelectronics.ru, linux-kernel@...r.kernel.org,
digetx@...il.com, treding@...dia.com,
jarkko.nikula@...ux.intel.com, rmk+kernel@...linux.org.uk,
song.bao.hua@...ilicon.com, john.garry@...wei.com,
mika.westerberg@...ux.intel.com, prime.zeng@...wei.com,
linuxarm@...wei.com
Subject: Re: [PATCH v6 3/5] i2c: add support for HiSilicon I2C controller
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.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists