]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i2c: iproc: Change driver to use 'BIT' macro
authorRay Jui <ray.jui@broadcom.com>
Wed, 3 Apr 2019 21:05:35 +0000 (14:05 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 23 Apr 2019 21:36:00 +0000 (23:36 +0200)
commit8221324b1af8c8fe033de6d39c9e1bbc53ed9f2c
tree778cb0639f6be886b2f9883731fa225a02481512
parentd303ce595cacc741b17b3ff71195f0caa20fc785
i2c: iproc: Change driver to use 'BIT' macro

Change the iProc I2C driver to use the 'BIT' macro from all '1 << XXX'
bit operations to get rid of compiler warning and improve readability of
the code

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm-iproc.c