regmap: Allow installing custom reg_update_bits function

This commit allows installing a custom reg_update_bits function for cases where
the hardware provides a mechanism to set or clear register bits without a
read/modify/write cycle. Such is the case with the Microchip ENCX24J600.

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jon Ringle 2015-10-01 07:43:20 -04:00 • committed by David S. Miller
commit 7741c373cf
3 changed files with 32 additions and 0 deletions