Re: [PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h"

2021-06-16 Thread Philippe Mathieu-Daudé
On 6/16/21 8:38 PM, Richard Henderson wrote: > On 6/16/21 9:14 AM, Philippe Mathieu-Daudé wrote: >> lm832x_key_event() is specific go LM832x devices, not to the >> I2C bus API. Move it out of "i2c.h" to a new header. >> >> Signed-off-by: Philippe Mathieu-Daudé >> --- >>   include/hw/i2c/i2c.h 

Re: [PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h"

2021-06-16 Thread Richard Henderson
On 6/16/21 9:14 AM, Philippe Mathieu-Daudé wrote: lm832x_key_event() is specific go LM832x devices, not to the I2C bus API. Move it out of "i2c.h" to a new header. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/i2c/i2c.h | 3 --- include/hw/input/lm832x.h | 26 +++

[PATCH v3 01/13] hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h"

2021-06-16 Thread Philippe Mathieu-Daudé
lm832x_key_event() is specific go LM832x devices, not to the I2C bus API. Move it out of "i2c.h" to a new header. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/i2c/i2c.h | 3 --- include/hw/input/lm832x.h | 26 ++ hw/arm/nseries.c | 1 + hw/input/lm