.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* rtc-max6916.c |
---|
2 | 3 | * |
---|
3 | 4 | * Driver for MAXIM max6916 Low Current, SPI Compatible |
---|
4 | 5 | * Real Time Clock |
---|
5 | 6 | * |
---|
6 | 7 | * Author : Venkat Prashanth B U <venkat.prashanth2498@gmail.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 as |
---|
10 | | - * published by the Free Software Foundation. |
---|
11 | | - * |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #include <linux/init.h> |
---|
.. | .. |
---|
86 | 82 | if (dt->tm_year < 100 || dt->tm_year > 199) { |
---|
87 | 83 | dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n", |
---|
88 | 84 | dt->tm_year + 1900); |
---|
89 | | - return -EINVAL; |
---|
| 85 | + return -EINVAL; |
---|
90 | 86 | } |
---|
91 | 87 | |
---|
92 | 88 | buf[0] = MAX6916_CLOCK_BURST & 0x7F; |
---|