rockchip: clk: rk3399: change extract_bits to bitfield_extract
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 22 Nov 2017 18:45:04 +0000 (19:45 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 25 Nov 2017 23:39:08 +0000 (00:39 +0100)
commita8ee98df183ed240afb5220c3cdf2991f69fa578
tree1d46690e29a9b434b02211adbb647f5fa7234057
parent337bbb6297775e8e9d664e96e96004f00d1d8c02
rockchip: clk: rk3399: change extract_bits to bitfield_extract

The RK3399 clk driver still has a left-over use of extract_bits, which
can be replaced by using bitfield_extract from include/bitfield.h.
This rewrites the invocation to use the shared function.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/clk/rockchip/clk_rk3399.c