hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/mfd/menelaus.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2004 Texas Instruments, Inc.
34 *
....@@ -15,20 +16,6 @@
1516 * Added support for controlling VCORE and regulator sleep states,
1617 * Amit Kucheria <amit.kucheria@nokia.com>
1718 * Copyright (C) 2005, 2006 Nokia Corporation
18
- *
19
- * This program is free software; you can redistribute it and/or modify
20
- * it under the terms of the GNU General Public License as published by
21
- * the Free Software Foundation; either version 2 of the License, or
22
- * (at your option) any later version.
23
- *
24
- * This program is distributed in the hope that it will be useful,
25
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
26
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
- * GNU General Public License for more details.
28
- *
29
- * You should have received a copy of the GNU General Public License
30
- * along with this program; if not, write to the Free Software
31
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3219 */
3320
3421 #include <linux/module.h>
....@@ -1138,8 +1125,6 @@
11381125 menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ);
11391126 device_init_wakeup(&m->client->dev, 0);
11401127 }
1141
- dev_err(&m->client->dev, "can't register RTC: %d\n",
1142
- (int) PTR_ERR(m->rtc));
11431128 the_menelaus->rtc = NULL;
11441129 }
11451130 }