[PATCH] staging: emxx_udc: remove unnecessary nullpointer checks

2018-09-24 Thread Arkadiusz Lis
This patch removes nullpointer checks which are redundant. container_of returns structure containing entity which we know for sure is not null, so the whole structure can not be null. Signed-off-by: Arkadiusz Lis --- drivers/staging/emxx_udc/emxx_udc.c | 24 ++-- 1 file

[PATCH] staging: emxx_udc: remove unnecessary nullpointer checks

2018-09-24 Thread Arkadiusz Lis
This patch removes nullpointer checks which are redundant. container_of returns structure containing entity which we know for sure is not null, so the whole structure can not be null. Signed-off-by: Arkadiusz Lis --- drivers/staging/emxx_udc/emxx_udc.c | 24 ++-- 1 file

Re: [PATCH] Staging: One Laptop Per Child: add function argument names

2018-08-28 Thread Arkadiusz Lis
On Mon, Aug 27, 2018 at 07:52:13PM +0200, Greg KH wrote: > On Thu, Aug 09, 2018 at 06:23:59PM +0200, Arkadiusz Lis wrote: > > Add function argument names to pointers to functions > > in struct dcon_platform_data: init, set_dconload and read_status > > This commit removes

Re: [PATCH] Staging: One Laptop Per Child: add function argument names

2018-08-28 Thread Arkadiusz Lis
On Mon, Aug 27, 2018 at 07:52:13PM +0200, Greg KH wrote: > On Thu, Aug 09, 2018 at 06:23:59PM +0200, Arkadiusz Lis wrote: > > Add function argument names to pointers to functions > > in struct dcon_platform_data: init, set_dconload and read_status > > This commit removes

[PATCH] Staging: One Laptop Per Child: add function argument names

2018-08-09 Thread Arkadiusz Lis
Add function argument names to pointers to functions in struct dcon_platform_data: init, set_dconload and read_status This commit removes checkpatch.pl warning. Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH] Staging: One Laptop Per Child: add function argument names

2018-08-09 Thread Arkadiusz Lis
Add function argument names to pointers to functions in struct dcon_platform_data: init, set_dconload and read_status This commit removes checkpatch.pl warning. Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v3] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-08 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files. Remove redundant, old license. Signed-off-by: Arkadiusz Lis --- Changes in v3: - change old license to SPDX - adding change summary, missing in v2 drivers/staging/olpc_dcon/olpc_dcon.c| 5 + drivers/staging/olpc_dcon

[PATCH v3] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-08 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files. Remove redundant, old license. Signed-off-by: Arkadiusz Lis --- Changes in v3: - change old license to SPDX - adding change summary, missing in v2 drivers/staging/olpc_dcon/olpc_dcon.c| 5 + drivers/staging/olpc_dcon

[PATCH v2] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-06 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files. Remove redundant, old license. Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.c| 5 + drivers/staging/olpc_dcon/olpc_dcon_xo_1.c | 5 + drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 5 + 3 files

[PATCH v2] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-06 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files. Remove redundant, old license. Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.c| 5 + drivers/staging/olpc_dcon/olpc_dcon_xo_1.c | 5 + drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 5 + 3 files

[PATCH] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-06 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.c| 1 + drivers/staging/olpc_dcon/olpc_dcon_xo_1.c | 1 + drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers

[PATCH] Staging: One Laptop Per Child: fix SPDX-License-Identifier issue

2018-08-06 Thread Arkadiusz Lis
Add SPDX-License-Identifier to the source files Signed-off-by: Arkadiusz Lis --- drivers/staging/olpc_dcon/olpc_dcon.c| 1 + drivers/staging/olpc_dcon/olpc_dcon_xo_1.c | 1 + drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers