diff options
author | Taeyoung Kim <ty317.kim@samsung.com> | 2015-06-23 19:48:19 +0900 |
---|---|---|
committer | Taeyoung Kim <ty317.kim@samsung.com> | 2015-11-11 21:32:17 -0800 |
commit | 13c6da041fe36b8b908949447f07469ea8055fbc (patch) | |
tree | bba963f9628a1eeac3fccd1a7a2e031e230765e7 /src | |
parent | 994cdfd6bb1d38e1c98291e80e932ff0f720ed05 (diff) | |
download | libsvi-13c6da041fe36b8b908949447f07469ea8055fbc.tar.gz libsvi-13c6da041fe36b8b908949447f07469ea8055fbc.tar.bz2 libsvi-13c6da041fe36b8b908949447f07469ea8055fbc.zip |
libfeedback: fix coding styles to Tizen style
Change-Id: Icc05cee9ccecd0c605959712f9365395f4ee453d
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/devices.c | 2 | ||||
-rw-r--r-- | src/sound.c | 2 | ||||
-rw-r--r-- | src/vibrator.c | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/devices.c b/src/devices.c index 8d351e4..e176ea0 100644 --- a/src/devices.c +++ b/src/devices.c @@ -83,7 +83,7 @@ int devices_play(int pattern) (prev == 0 && ret < 0)) prev = 0; else if ((prev < 0 && ret == -ENOTSUP) || - (prev == -ENOTSUP && ret < 0)) + (prev == -ENOTSUP && ret < 0)) prev = -ENOTSUP; else prev = ret; diff --git a/src/sound.c b/src/sound.c index 1a90b7f..75ce07c 100644 --- a/src/sound.c +++ b/src/sound.c @@ -165,7 +165,7 @@ static int sound_play(feedback_pattern_e pattern) return 0; } _E("mm_sound_play_keysound() returned error(%d)", ret); - } while(retry--); + } while (retry--); return -EPERM; } diff --git a/src/vibrator.c b/src/vibrator.c index f09b224..e827e3f 100644 --- a/src/vibrator.c +++ b/src/vibrator.c @@ -35,15 +35,13 @@ #define HAPTIC_DEVICE 0 -enum haptic_priority -{ +enum haptic_priority { HAPTIC_PRIORITY_MIN = 0, HAPTIC_PRIORITY_MIDDLE, HAPTIC_PRIORITY_HIGH, }; -enum haptic_iteration -{ +enum haptic_iteration { HAPTIC_ITERATION_ONCE = 1, HAPTIC_ITERATION_INFINITE = 256, }; |