| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/drivers/devfreq/governor_powersave.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2011 Samsung Electronics |
|---|
| 5 | 6 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/devfreq.h> |
|---|
| .. | .. |
|---|
| 33 | 30 | mutex_lock(&devfreq->lock); |
|---|
| 34 | 31 | ret = update_devfreq(devfreq); |
|---|
| 35 | 32 | mutex_unlock(&devfreq->lock); |
|---|
| 36 | | - devfreq->last_status.update = true; |
|---|
| 37 | | - } else { |
|---|
| 38 | | - devfreq->last_status.update = false; |
|---|
| 39 | 33 | } |
|---|
| 40 | 34 | |
|---|
| 41 | 35 | return ret; |
|---|