Re: [PATCH v11] i2c: virtio: add a virtio i2c frontend driver

From: Andy Shevchenko
Date: Thu Jul 01 2021 - 06:45:20 EST

On Thu, Jul 01, 2021 at 11:24:46AM +0800, Jie Deng wrote:
> Add an I2C bus driver for virtio para-virtualization.
> The controller can be emulated by the backend driver in
> any device model software by following the virtio protocol.
> The device specification can be found on
> By following the specification, people may implement different
> backend drivers to emulate different controllers according to
> their needs.

> - Use #ifdef CONFIG_PM_SLEEP to replace the "__maybe_unused".

Why is that?

With Best Regards,
Andy Shevchenko