Re: [PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver
From: Pavel Machek
Date: Sun Nov 11 2018 - 06:29:50 EST
Hi!
> +static void __reg_io_start(const struct upboard_ddata * const ddata)
> +{
> + /*
> + * CLEAR signal must be pulsed low before any register access.
> + * This resets internal counters in the controller and marks
> + * the start of a new register access.
> + */
> + set_clear(ddata, 0);
> + set_clear(ddata, 1);
> +}
We normally reserve __ prefix for different stuff. This is not using
it appropriately.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature