rx51_battery.c (58e16d792a6a8c6b750f637a4649967fcac853dc) rx51_battery.c (149ed3d404c9bd00f0fadc35215a9e7a54c5cfd0)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Nokia RX-51 battery driver
4 *
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Nokia RX-51 battery driver
4 *
5 * Copyright (C) 2012 Pali Rohár <pali.rohar@gmail.com>
5 * Copyright (C) 2012 Pali Rohár <pali@kernel.org>
6 */
7
8#include <linux/module.h>
9#include <linux/param.h>
10#include <linux/platform_device.h>
11#include <linux/power_supply.h>
12#include <linux/slab.h>
13#include <linux/iio/consumer.h>

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

273 .driver = {
274 .name = "rx51-battery",
275 .of_match_table = of_match_ptr(n900_battery_of_match),
276 },
277};
278module_platform_driver(rx51_battery_driver);
279
280MODULE_ALIAS("platform:rx51-battery");
6 */
7
8#include <linux/module.h>
9#include <linux/param.h>
10#include <linux/platform_device.h>
11#include <linux/power_supply.h>
12#include <linux/slab.h>
13#include <linux/iio/consumer.h>

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

273 .driver = {
274 .name = "rx51-battery",
275 .of_match_table = of_match_ptr(n900_battery_of_match),
276 },
277};
278module_platform_driver(rx51_battery_driver);
279
280MODULE_ALIAS("platform:rx51-battery");
281MODULE_AUTHOR("Pali Rohár <pali.rohar@gmail.com>");
281MODULE_AUTHOR("Pali Rohár <pali@kernel.org>");
282MODULE_DESCRIPTION("Nokia RX-51 battery driver");
283MODULE_LICENSE("GPL");
282MODULE_DESCRIPTION("Nokia RX-51 battery driver");
283MODULE_LICENSE("GPL");