Thread (36 messages) 36 messages, 6 authors, 2016-07-25

[PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

From: Quentin Schulz <hidden>
Date: 2016-07-19 08:36:07
Also in: linux-hwmon, linux-iio, lkml

On 18/07/2016 15:25, Jonathan Cameron wrote:
On 15/07/16 10:59, Quentin Schulz wrote:
quoted
The Allwinner SoCs all have an ADC that can also act as a touchscreen
controller and a thermal sensor. For now, only the ADC and the thermal
sensor drivers are probed by the MFD, the touchscreen controller support
will be added later.

Signed-off-by: Quentin Schulz <redacted>
Hmm. Previous patch includes the header this one creates.  Ordering issue?
The depends kind of prevents build failures by ensuring that can't be built
until this one is in place, but it is certainly an ugly way to do it.

Few little bits innline.
[...]
quoted
+static int sunxi_gpadc_mfd_probe(struct platform_device *pdev)
+{
+	struct sunxi_gpadc_mfd_dev *sunxi_gpadc_mfd_dev = NULL;
+	struct resource *mem = NULL;
Neither of the above assignments is necessary as both will be explicitly
assigned before they are otherwise used.
ACK.

[...]
quoted
+	dev_info(&pdev->dev, "successfully loaded\n");
Seems like noise to me, but not my subsystem :)
ACK.
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help