hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/rtc/rtc-max6916.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* rtc-max6916.c
23 *
34 * Driver for MAXIM max6916 Low Current, SPI Compatible
45 * Real Time Clock
56 *
67 * 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
- *
128 */
139
1410 #include <linux/init.h>
....@@ -86,7 +82,7 @@
8682 if (dt->tm_year < 100 || dt->tm_year > 199) {
8783 dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n",
8884 dt->tm_year + 1900);
89
- return -EINVAL;
85
+ return -EINVAL;
9086 }
9187
9288 buf[0] = MAX6916_CLOCK_BURST & 0x7F;