omap-i2c: remove PROP_PTR
commit0fd20c532faa6d5ebed8a43763f96a4829b33be2
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 18 Oct 2019 12:56:44 +0000 (18 14:56 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (7 17:24 +0400)
tree9864a775098761ac98a42b33d96f1cd276d413d1
parentbab592a259a6603922a4f54caedb6e52da692e35
omap-i2c: remove PROP_PTR

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

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