From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Khalil Blaiech <kblaiech@nvidia.com>,
Asmaa Mnebhi <asmaa@nvidia.com>,
Andi Shyti <andi.shyti@kernel.org>
Subject: [PATCH v1 1/2] i2c: mlxbf: Remove unused bus speed definitions
Date: Mon, 12 Jan 2026 14:55:10 +0100 [thread overview]
Message-ID: <20260112135603.4150952-2-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20260112135603.4150952-1-andriy.shevchenko@linux.intel.com>
The driver had been converted to use standard constants for the bus speed
a long time ago. Remove the leftover definitions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/i2c/busses/i2c-mlxbf.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/i2c/busses/i2c-mlxbf.c b/drivers/i2c/busses/i2c-mlxbf.c
index 746f65989138..9f0048044112 100644
--- a/drivers/i2c/busses/i2c-mlxbf.c
+++ b/drivers/i2c/busses/i2c-mlxbf.c
@@ -324,12 +324,6 @@
.name = (str) \
}
-enum {
- MLXBF_I2C_TIMING_100KHZ = 100000,
- MLXBF_I2C_TIMING_400KHZ = 400000,
- MLXBF_I2C_TIMING_1000KHZ = 1000000,
-};
-
enum {
MLXBF_I2C_F_READ = BIT(0),
MLXBF_I2C_F_WRITE = BIT(1),
--
2.50.1
next prev parent reply other threads:[~2026-01-12 13:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-12 13:55 [PATCH v1 0/2] i2c: mlxbf: A couple of cleanups Andy Shevchenko
2026-01-12 13:55 ` Andy Shevchenko [this message]
2026-01-12 13:55 ` [PATCH v1 2/2] i2c: mlxbf: Use HZ_PER_KHZ in the driver Andy Shevchenko
2026-01-12 20:33 ` kernel test robot
2026-01-12 20:36 ` Andy Shevchenko
2026-01-13 7:30 ` Andy Shevchenko
2026-01-13 13:48 ` Philip Li
2026-01-13 20:42 ` Andy Shevchenko
2026-01-13 23:55 ` Philip Li
2026-01-14 7:36 ` [PATCH v1 0/2] i2c: mlxbf: A couple of cleanups Andi Shyti
2026-01-14 8:24 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260112135603.4150952-2-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=andi.shyti@kernel.org \
--cc=asmaa@nvidia.com \
--cc=kblaiech@nvidia.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox