| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2004 Texas Instruments, Inc. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 15 | 16 | * Added support for controlling VCORE and regulator sleep states, |
|---|
| 16 | 17 | * Amit Kucheria <amit.kucheria@nokia.com> |
|---|
| 17 | 18 | * 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 |
|---|
| 32 | 19 | */ |
|---|
| 33 | 20 | |
|---|
| 34 | 21 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 1138 | 1125 | menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ); |
|---|
| 1139 | 1126 | device_init_wakeup(&m->client->dev, 0); |
|---|
| 1140 | 1127 | } |
|---|
| 1141 | | - dev_err(&m->client->dev, "can't register RTC: %d\n", |
|---|
| 1142 | | - (int) PTR_ERR(m->rtc)); |
|---|
| 1143 | 1128 | the_menelaus->rtc = NULL; |
|---|
| 1144 | 1129 | } |
|---|
| 1145 | 1130 | } |
|---|