Re: [PATCH 3/2] hw/timer: Rename ptimer_state -> PTimer

2023-02-19 Thread Thomas Huth
On 17/02/2023 22.58, Philippe Mathieu-Daudé wrote: Remove a pointless cast in ptimer_tick() and rename 'ptimer_state' as 'PTimer' to follow the Structure naming convention. See docs/devel/style.rst: Variables are lower_case_with_underscores; easy to type and read. Structured type names a

[PATCH 3/2] hw/timer: Rename ptimer_state -> PTimer

2023-02-17 Thread Philippe Mathieu-Daudé
Remove a pointless cast in ptimer_tick() and rename 'ptimer_state' as 'PTimer' to follow the Structure naming convention. See docs/devel/style.rst: Variables are lower_case_with_underscores; easy to type and read. Structured type names are in CamelCase; harder to type but standing out. En