Thread (5 messages) 5 messages, 4 authors, 2010-10-06

[PATCH] Input: Make ADS7846 independent on regulator

From: marek.vasut@gmail.com (Marek Vasut)
Date: 2010-07-31 07:04:14
Also in: linux-input, lkml

Dne So 31. ?ervence 2010 08:33:29 Dmitry Torokhov napsal(a):
Hi Marek,

On Sat, Jul 31, 2010 at 07:45:08AM +0200, Marek Vasut wrote:
quoted
In case regulator was not found, ADS7846 failed to probe.

This fixes a problem on some Sharp Zaurus devices, where there is no
regulator present and yet the touchscreen is used.
Too many ifdefs to my taste... Can we have ads7846_regulator_enable()
and friends stubbed out in case !CONFIG_REGULATOR?
Hi,

I believe you should ask the regulator guys about these. We can certainly just 
remove the ifdefs (I was thinking about it, because it poluted the code quality 
quite a bit). Just removing the ifdefs shouldn't cause any harm.

Cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help