[FIX] Driver: remove duplicated file 44/24244/3
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 9 Jul 2014 08:03:14 +0000 (12:03 +0400)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Fri, 11 Jul 2014 09:59:04 +0000 (02:59 -0700)
driver_defs.h and kernel_operations.h has been duplicated each other.

Change-Id: I8d1ffe0d711994c28284e11b703a27a2a14106bd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
driver/kernel_operations.h [deleted file]
driver/us_interaction.c

diff --git a/driver/kernel_operations.h b/driver/kernel_operations.h
deleted file mode 100644 (file)
index 08ad6ce..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *  SWAP Driver
- *  modules/driver/kernel_operations.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2013
- *
- * 2013         Alexander Aksenov <a.aksenov@samsung.com>: SWAP Driver implement
- *
- */
-
-/* Kernel functions wrap */
-
-#ifndef __KERNEL_OPERATIONS_H__
-#define __KERNEL_OPERATIONS_H__
-
-#include <linux/kernel.h>
-
-/* MESSAGES */
-#define print_debug(msg, args...) \
-       printk(KERN_DEBUG "SWAP_DRIVER DEBUG : " msg, ##args)
-#define print_msg(msg, args...)   \
-       printk(KERN_INFO "SWAP_DRIVER : " msg, ##args)
-#define print_warn(msg, args...)  \
-       printk(KERN_WARNING "SWAP_DRIVER WARNING : " msg, ##args)
-#define print_err(msg, args...)   \
-       printk(KERN_ERR "SWAP_DRIVER ERROR : " msg, ##args)
-#define print_crit(msg, args...)  \
-       printk(KERN_CRIT "SWAP_DRIVER CRITICAL : " msg, ##args)
-
-#endif /* __KERNEL_OPERATIONS_H__ */
index 62f5635..2b2d6c8 100644 (file)
@@ -33,7 +33,7 @@
 #include "us_interaction.h"
 #include "us_interaction_msg.h"
 #include "swap_driver_errors.h"
-#include "kernel_operations.h"
+#include "driver_defs.h"
 
 
 /* Connector id struct */