[PATCH 01/10] ASoC: fsl_ssi: Remove unused struct device

Mark Brown broonie at kernel.org
Wed Dec 6 00:04:46 AEDT 2017


On Mon, Dec 04, 2017 at 12:46:34PM -0800, Nicolin Chen wrote:
> struct device is defined in system level header files any way.
> As long as fsl_ssi.h is included after those header files, it
> should be safe to remove this line.

It's better practice to either directly include those headers or have a
forward declaration like this, it means there's no way things can go
wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20171205/cf4466fc/attachment.sig>


More information about the Linuxppc-dev mailing list