diff options
author | Andy Shevchenko <[email protected]> | 2019-11-20 11:57:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-11-20 14:35:57 +0100 |
commit | 2494fd4c8388af803fcb5d5198b46d1285121afb (patch) | |
tree | ce427659abdd4cd8c897994c5eeba76f88f60898 /lib/mpi/mpiutil.c | |
parent | 6753e7957fef5d9f48eaee25b87314d7a800eb3a (diff) |
fbtft: Drop useless #ifdef CONFIG_OF and dead code
First of all there is no need to guard GPIO request by CONFIG_OF.
It works for everybody independently on resource provider. While here,
rename the function to reflect the above.
Moreover, since we have a global dependency to OF, the rest of
conditional compilation is no-op, i.e. it's always be true.
Due to above drop useless #ifdef CONFIG_OF and therefore dead code.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions