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
Hi all,
I would like to help getting emxx_udc driver out of staging.
One of the things to do is to adjust it to using device tree.
The bindings are not defined yet. I have a blurred idea what properties are
needed
however I've never done it and your support and comments will be really
appreciated
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
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
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
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
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