]> git.baikalelectronics.ru Git - kernel.git/commit
regmap-irq: Deprecate the not_fixed_stride flag
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Thu, 23 Jun 2022 21:14:20 +0000 (22:14 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2022 17:13:17 +0000 (18:13 +0100)
commitbbaf799c0689dc9b882e6d390244ef2ce2df6003
tree8cc8789a13dcf59fc5e6efea5929dd323e8549c8
parentb26c84f31cae04290ab3690043cb2daee902a1d0
regmap-irq: Deprecate the not_fixed_stride flag

This flag is a bit of a hack and the same thing can be accomplished
using a custom ->get_irq_reg() callback. Add a warning to catch any
use of the flag.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220623211420.918875-13-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h