mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mfd: max77693: Added device tree support
This patch adds only of_match_table. There are no device specific properties. Reviewed-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Andrzej Hajda <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
4233a0aafb
commit
4657185c3c
1 changed files with 8 additions and 0 deletions
|
|
@ -225,11 +225,19 @@ static const struct dev_pm_ops max77693_pm = {
|
|||
.resume = max77693_resume,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id max77693_dt_match[] = {
|
||||
{ .compatible = "maxim,max77693" },
|
||||
{},
|
||||
};
|
||||
#endif
|
||||
|
||||
static struct i2c_driver max77693_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "max77693",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &max77693_pm,
|
||||
.of_match_table = of_match_ptr(max77693_dt_match),
|
||||
},
|
||||
.probe = max77693_i2c_probe,
|
||||
.remove = max77693_i2c_remove,
|
||||
|
|
|
|||
Loading…
Reference in a new issue