Re: [PATCH v4 2/8] hw/misc/pca9552: Replace magic value by PCA9552_PIN_COUNT definition

2020-06-21 Thread Cédric Le Goater
On 6/21/20 12:58 AM, Philippe Mathieu-Daudé wrote: > Replace the '16' magic value by the PCA9552_PIN_COUNT definition. Reviewed-by: Cédric Le Goater > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/misc/pca9552.h | 1 + > hw/misc/pca9552.c | 2 +- > 2 files changed, 2 inse

[PATCH v4 2/8] hw/misc/pca9552: Replace magic value by PCA9552_PIN_COUNT definition

2020-06-20 Thread Philippe Mathieu-Daudé
Replace the '16' magic value by the PCA9552_PIN_COUNT definition. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/misc/pca9552.h | 1 + hw/misc/pca9552.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hw/misc/pca9552.h b/include/hw/misc/pca9552.h index