summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-10-19 09:48:59 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-11-05 22:23:58 +0100
commit51b436a2420e32258f78f0d7a53c8ad1c8569d3b (patch)
tree0be81ee88596b47710c10220d24eecf113e118cb /drivers/hwmon
parentea5bc54b12e822a2691c8b7348fae3badb6e376c (diff)
downloadlinux-51b436a2420e32258f78f0d7a53c8ad1c8569d3b.tar.bz2
mtd: maps: physmap: Remove the MAX_RESOURCES limitation
Remove the MAX_RESOURCES limitation by dynamically allocating the ->mtds[] and ->maps[] at probe time based on the number of iomem resources attached to the platform device. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions