Thread (46 messages) 46 messages, 5 authors, 2022-02-11

Re: [PATCH v3 4/7] drm/solomon: Add SSD130X OLED displays I2C support

From: Javier Martinez Canillas <javierm@redhat.com>
Date: 2022-02-09 16:06:11
Also in: dri-devel, linux-fbdev

On 2/9/22 16:15, Andy Shevchenko wrote:
On Wed, Feb 09, 2022 at 10:03:11AM +0100, Javier Martinez Canillas wrote:
quoted
The ssd130x driver only provides the core support for these devices but it
does not have any bus transport logic. Add a driver to interface over I2C.
Thanks!

...
quoted
+ * Authors: Javier Martinez Canillas [off-list ref]
s?!
Right.
 
...
quoted
+#include <linux/i2c.h>
+#include <linux/module.h>
regmap.h ?
err.h?
The regmap.h header is included in ssd130x.h and err.h in regmap.h.
...
quoted
+	ssd130x = ssd130x_probe(&client->dev, regmap);
quoted
+
Redundant blank line.
Ok.
quoted
+	if (IS_ERR(ssd130x))
+		return PTR_ERR(ssd130x);
...
quoted
+	{ /* sentinel */ },
No comma for terminator entry.
Right. I removed in one place bug forgot here.

Best regards,
-- 
Javier Martinez Canillas
Linux Engineering
Red Hat
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help