omap-intc: remove PROP_PTR
commitbab592a259a6603922a4f54caedb6e52da692e35
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 18 Oct 2019 12:42:57 +0000 (18 14:42 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (7 17:24 +0400)
treeb574b30d13be17691b9d745c1e1f3a9bd6fbe4c7
parentb9751d205febdfefdb9bb9828fef07ae9a966f1b
omap-intc: remove PROP_PTR

Since clocks are not QOM objects, replace PROP_PTR of clocks with
setters methods.

(in theory there should probably be different methods for omap1 &
omap2 intc, but this is left as a future improvement)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/arm/omap1.c
hw/arm/omap2.c
hw/intc/omap_intc.c
include/hw/arm/omap.h