Source
1
+
// SPDX-License-Identifier: GPL-2.0-or-later
1
2
/*
2
3
* max31790.c - Part of lm_sensors, Linux kernel modules for hardware
3
4
* monitoring.
4
5
*
5
6
* (C) 2015 by Il Han <corone.il.han@gmail.com>
6
-
*
7
-
* This program is free software; you can redistribute it and/or modify
8
-
* it under the terms of the GNU General Public License as published by
9
-
* the Free Software Foundation; either version 2 of the License, or
10
-
* (at your option) any later version.
11
-
*
12
-
* This program is distributed in the hope that it will be useful,
13
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
-
* GNU General Public License for more details.
16
7
*/
17
8
18
9
#include <linux/err.h>
19
10
#include <linux/hwmon.h>
20
11
#include <linux/i2c.h>
21
12
#include <linux/init.h>
22
13
#include <linux/jiffies.h>
23
14
#include <linux/module.h>
24
15
#include <linux/slab.h>
25
16