log: change file name "peripheral_common.h" to "peripheral_log.h" 60/160960/1
authorSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 01:46:52 +0000 (10:46 +0900)
committerSegwon <segwon.han@samsung.com>
Tue, 21 Nov 2017 01:46:52 +0000 (10:46 +0900)
Change-Id: I4cbf8be541b34d592b95c47d2a9a975935b65a95
Signed-off-by: Segwon <segwon.han@samsung.com>
16 files changed:
src/daemon/include/peripheral_log.h [moved from src/daemon/include/peripheral_common.h with 95% similarity]
src/daemon/peripheral_bus.c
src/daemon/peripheral_bus_board.c
src/daemon/peripheral_bus_gdbus_gpio.c
src/daemon/peripheral_bus_gdbus_i2c.c
src/daemon/peripheral_bus_gdbus_pwm.c
src/daemon/peripheral_bus_gdbus_spi.c
src/daemon/peripheral_bus_gdbus_uart.c
src/daemon/peripheral_bus_gpio.c
src/daemon/peripheral_bus_i2c.c
src/daemon/peripheral_bus_pwm.c
src/daemon/peripheral_bus_spi.c
src/daemon/peripheral_bus_uart.c
src/daemon/peripheral_bus_util.c
src/daemon/privilege_checker.c
src/interface/include/peripheral_interface_common.h

similarity index 95%
rename from src/daemon/include/peripheral_common.h
rename to src/daemon/include/peripheral_log.h
index 9c3b8fe..7198845 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef __PERIPHERAL_COMMON_H__
-#define __PERIPHERAL_COMMON_H__
+#ifndef __PERIPHERAL_LOG_H__
+#define __PERIPHERAL_LOG_H__
 
 #include <unistd.h>
 #include <dlog.h>
index 6c18e58..7f66434 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_gdbus_gpio.h"
 #include "peripheral_bus_gdbus_i2c.h"
 #include "peripheral_bus_gdbus_pwm.h"
index b2abbc7..48e2a0d 100644 (file)
@@ -24,7 +24,7 @@
 #include <peripheral_io.h>
 
 #include "peripheral_bus_board.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 
 #define STR_BUF_MAX 255
 
index b45115b..b864c1d 100644 (file)
@@ -20,7 +20,7 @@
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_gpio.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 #include "peripheral_bus_gdbus_gpio.h"
 
index 8a55bd5..6e0bfbb 100644 (file)
@@ -19,7 +19,7 @@
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_i2c.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 #include "peripheral_bus_gdbus_i2c.h"
 
index 9560829..47ead35 100644 (file)
@@ -19,7 +19,7 @@
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_pwm.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 #include "peripheral_bus_gdbus_pwm.h"
 
index 11eb0e6..f609690 100644 (file)
@@ -19,7 +19,7 @@
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_spi.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 #include "peripheral_bus_gdbus_spi.h"
 
index 811d2eb..3aa3ea2 100644 (file)
@@ -19,7 +19,7 @@
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_uart.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 #include "peripheral_bus_gdbus_uart.h"
 
index 057cac6..6ac8d20 100644 (file)
@@ -26,7 +26,7 @@
 #include "peripheral_interface_gpio.h"
 #include "peripheral_bus.h"
 #include "peripheral_bus_gdbus_gpio.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 
 static bool peripheral_bus_gpio_is_available(int pin, peripheral_bus_s *pb_data)
index e0edbd5..88f8156 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "peripheral_interface_i2c.h"
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 
 #define INITIAL_BUFFER_SIZE 128
index 6bf13dd..a9c657c 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "peripheral_interface_pwm.h"
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 
 static bool peripheral_bus_pwm_is_available(int chip, int pin, peripheral_bus_s *pb_data)
index f982c2a..e1d7f07 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "peripheral_interface_spi.h"
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 
 static bool __peripheral_bus_spi_is_available(int bus, int cs, peripheral_bus_s *pb_data)
index 1ca35e7..a73007a 100644 (file)
@@ -23,7 +23,7 @@
 #include "peripheral_interface_uart.h"
 #include "peripheral_io_gdbus.h"
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 #include "peripheral_bus_util.h"
 
 #define INITIAL_BUFFER_SIZE 128
index 8204885..eb27024 100644 (file)
@@ -24,7 +24,7 @@
 #include <cynara-session.h>
 
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 
 #include "privilege_checker.h"
 
index 20c3760..e35298d 100644 (file)
@@ -27,7 +27,7 @@
 #include <cynara-session.h>
 
 #include "peripheral_bus.h"
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 
 #define CACHE_SIZE  100
 
index e51f611..d411ae7 100644 (file)
@@ -23,7 +23,7 @@
 #include <fcntl.h>
 #include <peripheral_io.h>
 
-#include "peripheral_common.h"
+#include "peripheral_log.h"
 
 #define MAX_ERR_LEN 255
 #define MAX_BUF_LEN 64