Source
1
+
// SPDX-License-Identifier: GPL-2.0-or-later
1
2
/*
2
3
* ADT7310/ADT7310 digital temperature sensor driver
3
4
*
4
5
* Copyright 2012-2013 Analog Devices Inc.
5
6
* Author: Lars-Peter Clausen <lars@metafoo.de>
6
-
*
7
-
* Licensed under the GPL-2 or later.
8
7
*/
9
8
10
9
#include <linux/module.h>
11
10
#include <linux/init.h>
12
11
#include <linux/spi/spi.h>
13
12
#include <asm/unaligned.h>
14
13
15
14
#include "adt7x10.h"
16
15
17
16
#define ADT7310_STATUS 0