mirror of https://gitee.com/openkylin/linux.git
Staging: android: sw_sync.c: Fixed coding style issue.
Fixed coding style issue where blank line is missing after declaration. Signed-off-by: Yee Chin, Chiam <phathetique@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7d1311b93e
commit
a5b4e00325
|
@ -97,6 +97,7 @@ static void sw_sync_pt_value_str(struct sync_pt *sync_pt,
|
||||||
char *str, int size)
|
char *str, int size)
|
||||||
{
|
{
|
||||||
struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
|
struct sw_sync_pt *pt = (struct sw_sync_pt *)sync_pt;
|
||||||
|
|
||||||
snprintf(str, size, "%d", pt->value);
|
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)
|
static int sw_sync_release(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
struct sw_sync_timeline *obj = file->private_data;
|
struct sw_sync_timeline *obj = file->private_data;
|
||||||
|
|
||||||
sync_timeline_destroy(&obj->obj);
|
sync_timeline_destroy(&obj->obj);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue