megasas: Rename QOM class cast macros
commit2e0aec15905571fc485bff0ff9138c3bac48a5ad
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:19:58 +0000 (25 15:19 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
treeca29e37833f55822db397c148dec5a31cb4913d5
parentc51325d865110fc356f855544ac47d0afdeb0df6
megasas: Rename QOM class cast macros

Rename the MEGASAS_DEVICE_CLASS() and MEGASAS_DEVICE_GET_CLASS()
macros to be consistent with the MEGASAS() instance cast macro.

This will allow us to register the type cast macros using
OBJECT_DECLARE_TYPE later.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/scsi/megasas.c