diff options
author | Seunghun Lee <waydi1@gmail.com> | 2014-04-30 16:30:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-03 23:46:30 (GMT) |
commit | 10f62861b4a2f22cbd6412b3c42c76f0bdfbd648 (patch) | |
tree | 52763fba860829cd41af405c8ca42ccd699c16ea /drivers/staging/android/sw_sync.c | |
parent | ab0fbdc2c2363c5a921807b43f9bc8980318f096 (diff) | |
download | linux-10f62861b4a2f22cbd6412b3c42c76f0bdfbd648.tar.xz |
staging: android: fix missing a blank line after declarations
This patch fixes "Missing a blank line after declarations" warnings.
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/sw_sync.c')
-rw-r--r-- | drivers/staging/android/sw_sync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index f24493a..12a136e 100644 --- a/drivers/staging/android/sw_sync.c +++ b/drivers/staging/android/sw_sync.c @@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt, char *str, int size) { struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt; + snprintf(str, size, "%d", pt->value); } @@ -156,6 +157,7 @@ static int sw_sync_open(struct inode *inode, struct file *file) static int sw_sync_release(struct inode *inode, struct file *file) { struct sw_sync_timeline *obj = file->private_data; + sync_timeline_destroy(&obj->obj); return 0; } |