Skip to content
Snippets Groups Projects
Commit 8aae84a1 authored by Andreas Färber's avatar Andreas Färber Committed by Anthony Liguori
Browse files

i2c: Drop I2C_SLAVE_FROM_QDEV() macro


It is not being used in hot paths and is obsoleted by I2C_SLAVE()
QOM cast macro. Clean it up using a scripted conversion, so that it
doesn't get used in new code.

Some of its callers were combining it with FROM_I2C_SLAVE() macro, which
is equally obsolete but needs to be replaced in a type-specific way.

Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Cc: Kuo-Jung Su <dantesu@faraday-tech.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 6c8fec83
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment