summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSrishti Sharma <srishtishar@gmail.com>2017-09-30 06:26:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-03 18:22:23 +0200
commitac5f9de6d95e36f7373dbd4db45a4508dc57571d (patch)
tree7f5a96f78f68804cda2935af551f7fa393bcfdd5 /drivers/fpga/fpga-mgr.c
parentf3139e62142999e5dd98c7201cf66b804d3989ed (diff)
Staging: rtl8188eu: core: Use list_entry instead of container_of
For variables that have type struct list_head* use list_entry to access current list element instead of using container_of. Done using the following semantic patch by coccinelle. @r@ identifier e; struct list_head* l; @@ <... when != l == NULL l; ...> ( e= -container_of +list_entry ( ...) ) Signed-off-by: Srishti Sharma <srishtishar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions