[PATCH 11/20] platform: goldfish: pipe: Replace two code blocks with a function call

2018-08-27 Thread rkir
From: Roman Kiryanov Two function calls look cleaner because the function introduces takes case of all bit shifting and casting. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 35 --- 1 file changed, 19 insertions(+), 16 deletions(-) diff

[PATCH 11/20] platform: goldfish: pipe: Replace two code blocks with a function call

2018-08-27 Thread rkir
From: Roman Kiryanov Two function calls look cleaner because the function introduces takes case of all bit shifting and casting. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 35 --- 1 file changed, 19 insertions(+), 16 deletions(-) diff