regulator: wl2868c: Fix typo

drivers/regulator/wl2868c-regulator.c:252:26: error: use of undeclared identifier 'i2c_device_id';
MODULE_DEVICE_TABLE(i2c, i2c_device_id);

Fixes: 7f56984c21 ("regulator: Add WL2868C LDO support")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I66e1d2fc6716c42fccc6e65262b6124dec4d5cf8
This commit is contained in:
Tao Huang
2022-07-15 20:46:32 +08:00
parent 3b81ab0bff
commit 0d74a37b0e

View File

@@ -249,7 +249,7 @@ static const struct i2c_device_id wl2868c_i2c_id[] = {
{ }
};
MODULE_DEVICE_TABLE(i2c, i2c_device_id);
MODULE_DEVICE_TABLE(i2c, wl2868c_i2c_id);
static const struct of_device_id wl2868c_of_match[] = {
{ .compatible = "willsemi,wl2868c" },