rt5759-regulator.c (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) rt5759-regulator.c (41cff178e3d6df28acd8490519a656c509b4496f)
1// SPDX-License-Identifier: GPL-2.0+
2
3#include <linux/bits.h>
4#include <linux/i2c.h>
5#include <linux/kernel.h>
6#include <linux/module.h>
7#include <linux/of_device.h>
8#include <linux/regmap.h>

--- 345 unchanged lines hidden (view full) ---

354 { .compatible = "richtek,rt5759a", .data = (void *)CHIP_TYPE_RT5759A },
355 {}
356};
357MODULE_DEVICE_TABLE(of, rt5759_device_table);
358
359static struct i2c_driver rt5759_driver = {
360 .driver = {
361 .name = "rt5759",
1// SPDX-License-Identifier: GPL-2.0+
2
3#include <linux/bits.h>
4#include <linux/i2c.h>
5#include <linux/kernel.h>
6#include <linux/module.h>
7#include <linux/of_device.h>
8#include <linux/regmap.h>

--- 345 unchanged lines hidden (view full) ---

354 { .compatible = "richtek,rt5759a", .data = (void *)CHIP_TYPE_RT5759A },
355 {}
356};
357MODULE_DEVICE_TABLE(of, rt5759_device_table);
358
359static struct i2c_driver rt5759_driver = {
360 .driver = {
361 .name = "rt5759",
362 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
362 .of_match_table = of_match_ptr(rt5759_device_table),
363 },
364 .probe_new = rt5759_probe,
365};
366module_i2c_driver(rt5759_driver);
367
368MODULE_AUTHOR("ChiYuan Huang <cy_huang@richtek.com>");
369MODULE_DESCRIPTION("Richtek RT5759 Regulator Driver");
370MODULE_LICENSE("GPL v2");
363 .of_match_table = of_match_ptr(rt5759_device_table),
364 },
365 .probe_new = rt5759_probe,
366};
367module_i2c_driver(rt5759_driver);
368
369MODULE_AUTHOR("ChiYuan Huang <cy_huang@richtek.com>");
370MODULE_DESCRIPTION("Richtek RT5759 Regulator Driver");
371MODULE_LICENSE("GPL v2");