mt6331-regulator.c (4f2c0a4acffbec01079c28f839422e64ddeff004) mt6331-regulator.c (41cff178e3d6df28acd8490519a656c509b4496f)
1// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright (c) 2022 Collabora Ltd.
4// Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5//
6// Based on mt6323-regulator.c,
7// Copyright (c) 2016 MediaTek Inc.
8//

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

490 {"mt6331-regulator", 0},
491 { /* sentinel */ },
492};
493MODULE_DEVICE_TABLE(platform, mt6331_platform_ids);
494
495static struct platform_driver mt6331_regulator_driver = {
496 .driver = {
497 .name = "mt6331-regulator",
1// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright (c) 2022 Collabora Ltd.
4// Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5//
6// Based on mt6323-regulator.c,
7// Copyright (c) 2016 MediaTek Inc.
8//

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

490 {"mt6331-regulator", 0},
491 { /* sentinel */ },
492};
493MODULE_DEVICE_TABLE(platform, mt6331_platform_ids);
494
495static struct platform_driver mt6331_regulator_driver = {
496 .driver = {
497 .name = "mt6331-regulator",
498 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
498 },
499 .probe = mt6331_regulator_probe,
500 .id_table = mt6331_platform_ids,
501};
502
503module_platform_driver(mt6331_regulator_driver);
504
505MODULE_AUTHOR("AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>");
506MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6331 PMIC");
507MODULE_LICENSE("GPL");
499 },
500 .probe = mt6331_regulator_probe,
501 .id_table = mt6331_platform_ids,
502};
503
504module_platform_driver(mt6331_regulator_driver);
505
506MODULE_AUTHOR("AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>");
507MODULE_DESCRIPTION("Regulator Driver for MediaTek MT6331 PMIC");
508MODULE_LICENSE("GPL");