summaryrefslogtreecommitdiff
path: root/drivers/misc/apds9802als.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-05-05 11:15:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-09 16:39:45 +0300
commit9145554d3613299c8f9b0d17c62762cb6b0c4e41 (patch)
treedf8c70d58d90b4626ddbdf5187820f73c2ac6d40 /drivers/misc/apds9802als.c
parentb1c5f3085149e9643b125eb10aae0e74644d7dcc (diff)
downloadlinux-9145554d3613299c8f9b0d17c62762cb6b0c4e41.tar.xz
altera-stapl: Use swap() instead of open coding it
Clean the following coccicheck warning: ./drivers/misc/altera-stapl/altera.c:955:51-52: WARNING opportunity for swap(). Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/20220505081539.91575-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/apds9802als.c')
0 files changed, 0 insertions, 0 deletions