From: jinhyung.jo Date: Wed, 30 Jan 2013 10:24:37 +0000 (+0900) Subject: maru_brightness : source clean up X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1092 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e746389137d6d80535485104fcdd95ebc872efa0;p=sdk%2Femulator%2Fqemu.git maru_brightness : source clean up modified the boilerplates. removed unnecessary function. Signed-off-by: Jinhyung Jo --- diff --git a/tizen/src/hw/maru_brightness.c b/tizen/src/hw/maru_brightness.c index 4b0f233a97..7489568bc3 100644 --- a/tizen/src/hw/maru_brightness.c +++ b/tizen/src/hw/maru_brightness.c @@ -1,17 +1,10 @@ /* * Maru brightness device for VGA * - * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved. + * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: - * SeokYeon Hwang - * SangJin Kim - * MunKyu Im - * KiTae Kim * JinHyung Jo - * SungMin Ha - * JiHye Kim - * GiWoong Kim * YeongKyoon Lee * DongKyun Yun * DoHyung Hong @@ -29,7 +22,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. * * Contributors: * - S-Core Co., Ltd @@ -157,11 +151,6 @@ static int brightness_initfn(PCIDevice *dev) } /* external interface */ -int pci_get_brightness(void) -{ - return brightness_level; -} - DeviceState *pci_maru_brightness_init(PCIBus *bus) { return &pci_create_simple(bus, -1, QEMU_DEV_NAME)->qdev; diff --git a/tizen/src/hw/maru_brightness.h b/tizen/src/hw/maru_brightness.h index eebaa5d6e7..98787c3ffe 100644 --- a/tizen/src/hw/maru_brightness.h +++ b/tizen/src/hw/maru_brightness.h @@ -1,9 +1,10 @@ /* * Maru brightness device for VGA * - * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved. + * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: + * Jinhyung Jo * GiWoong Kim * YeongKyoon Lee * Hyunjun Son @@ -20,7 +21,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. * * Contributors: * - S-Core Co., Ltd @@ -39,7 +41,6 @@ extern uint32_t brightness_level; extern uint32_t brightness_off; extern uint8_t brightness_tbl[]; -int pci_get_brightness(void); DeviceState *pci_maru_brightness_init(PCIBus *bus); #endif /* MARU_BRIGHTNESS_H_ */