Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
return !!(readl(®s->data) & (1 << pin));
}
-
static int altera_pio_set_value(struct udevice *dev, unsigned pin, int val)
{
struct altera_pio_plat *plat = dev_get_plat(dev);
#define PCA957X_INVERT 1
#define PCA957X_DIRECTION 4
-
#define PCA_GPIO_MASK 0x00FF
#define PCA_INT 0x0100
#define PCA_PCAL BIT(9)
0x3U << offset, val << offset);
}
-
/* =========== Non-DM code, used by the SPL. ============ */
#if !CONFIG_IS_ENABLED(DM_GPIO)