// SPDX-License-Identifier: GPL-2.0-or-later /* * Hardware monitoring driver for TI TPS40422 * * Copyright (c) 2014 Nokia Solutions and Networks. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/err.h> #include <linux/i2c.h> #include "pmbus.h" static struct pmbus_driver_info tps40422_info = …; static int tps40422_probe(struct i2c_client *client) { … } static const struct i2c_device_id tps40422_id[] = …; MODULE_DEVICE_TABLE(i2c, tps40422_id); /* This is the driver that will be inserted */ static struct i2c_driver tps40422_driver = …; module_i2c_driver(…) …; MODULE_AUTHOR(…) …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …; MODULE_IMPORT_NS(…);