Skip to content
Commit 47e7b050 authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

staging/nvec: Do not pass resource to mfd_add_devices()



The mfd_add_devices() function takes a struct resource * as fifth
argument, but the nvec driver passes in a void __iomem *. The driver
gets away with it because none of the subdevices ever directly access
the registers.

Since subdevices never need to access the registers we can simply pass
NULL instead.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarMarc Dietrich <marvin24@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6aa26211
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment