max20086-regulator.c (4a5850865641d0b83caaad81ca0bbd722ac514fb) max20086-regulator.c (41cff178e3d6df28acd8490519a656c509b4496f)
1// SPDX-License-Identifier: GPL-2.0-or-later
2//
3// max20086-regulator.c - MAX20086-MAX20089 camera power protector driver
4//
5// Copyright (C) 2022 Laurent Pinchart <laurent.pinchart@idesonboard.com>
6// Copyright (C) 2018 Avnet, Inc.
7
8#include <linux/err.h>

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

315 { /* Sentinel */ },
316};
317
318MODULE_DEVICE_TABLE(of, max20086_dt_ids);
319
320static struct i2c_driver max20086_regulator_driver = {
321 .driver = {
322 .name = "max20086",
1// SPDX-License-Identifier: GPL-2.0-or-later
2//
3// max20086-regulator.c - MAX20086-MAX20089 camera power protector driver
4//
5// Copyright (C) 2022 Laurent Pinchart <laurent.pinchart@idesonboard.com>
6// Copyright (C) 2018 Avnet, Inc.
7
8#include <linux/err.h>

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

315 { /* Sentinel */ },
316};
317
318MODULE_DEVICE_TABLE(of, max20086_dt_ids);
319
320static struct i2c_driver max20086_regulator_driver = {
321 .driver = {
322 .name = "max20086",
323 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
323 .of_match_table = of_match_ptr(max20086_dt_ids),
324 },
325 .probe_new = max20086_i2c_probe,
326 .id_table = max20086_i2c_id,
327};
328
329module_i2c_driver(max20086_regulator_driver);
330
331MODULE_AUTHOR("Watson Chow <watson.chow@avnet.com>");
332MODULE_DESCRIPTION("MAX20086-MAX20089 Camera Power Protector Driver");
333MODULE_LICENSE("GPL");
324 .of_match_table = of_match_ptr(max20086_dt_ids),
325 },
326 .probe_new = max20086_i2c_probe,
327 .id_table = max20086_i2c_id,
328};
329
330module_i2c_driver(max20086_regulator_driver);
331
332MODULE_AUTHOR("Watson Chow <watson.chow@avnet.com>");
333MODULE_DESCRIPTION("MAX20086-MAX20089 Camera Power Protector Driver");
334MODULE_LICENSE("GPL");