[PATCH] staging: vt6656: change alignment to match parenthesis

2019-07-15 Thread Benjamin Sherman
Change indentation to match parentheses. This complies with the Linux kernel coding style and improves readability. Signed-off-by: Benjamin Sherman --- drivers/staging/vt6656/rxtx.c| 10 +- drivers/staging/vt6656/usbpipe.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions

[PATCH] staging: mt7621-dma: sizeof via pointer dereference

2019-05-30 Thread Benjamin Sherman
Pass the size of a struct into kzalloc by pointer dereference. This complies with the Linux kernel coding style and removes the possibility for a bug if the pointer's type is changed. Signed-off-by: Benjamin Sherman --- drivers/staging/mt7621-dma/mtk-hsdma.c | 2 +- 1 file changed, 1 insertion

[PATCH] staging: mt7621-dma: sizeof via pointer dereference

2019-05-30 Thread Benjamin Sherman
Pass the size of a struct into kzalloc by pointer dereference. This complies with the Linux kernel coding style and removes the possibility for a bug when the pointer's type is changed. Signed-off-by: Benjamin Sherman --- This is my first patch, so please forgive any seemingly obvious mistakes