[PATCH v3 4/7] drm/solomon: Add SSD130X OLED displays I2C support
Javier Martinez Canillas
javierm at redhat.com
Wed Feb 9 16:05:19 UTC 2022
On 2/9/22 16:15, Andy Shevchenko wrote:
> On Wed, Feb 09, 2022 at 10:03:11AM +0100, Javier Martinez Canillas wrote:
>> 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!
>
> ...
>
>> + * Authors: Javier Martinez Canillas <javierm at redhat.com>
>
> s?!
>
Right.
> ...
>
>> +#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.
> ...
>
>> + ssd130x = ssd130x_probe(&client->dev, regmap);
>
>> +
>
> Redundant blank line.
>
Ok.
>> + if (IS_ERR(ssd130x))
>> + return PTR_ERR(ssd130x);
>
> ...
>
>> + { /* sentinel */ },
>
> No comma for terminator entry.
>
>
Right. I removed in one place bug forgot here.
Best regards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat
More information about the dri-devel
mailing list