]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: sm750fb: use BIT macro for GPIO_MUX single-bit fields
authorMike Rapoport <mike.rapoport@gmail.com>
Sun, 17 Jan 2016 18:04:23 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:51:36 +0000 (18:51 -0800)
commit2a5149e0a20f451c0c39e4fc90511f13615e80c9
tree86752dee7cc9dc82e0dcd2c6214f8316753d1c5e
parent9a357143bcddcbba4e57839694240ad44714279d
staging: sm750fb: use BIT macro for GPIO_MUX single-bit fields

Replace complex definition of GPIO_MUX register fields with BIT() macro
and use open-coded implementation for register manipulations.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_hwi2c.c
drivers/staging/sm750fb/ddk750_reg.h