On Wed, Aug 26, 2020 at 11:09:18PM +0800, Tang Bin wrote:Thanks for your reply.
The function fsl_spdif_probe() is only called with an openfirmwareWhy is this an issue - the check will make things more robust if someone
platform device. Therefore there is no need to check that the passed
in device is NULL.
manages to load the driver on a non-DT system and otherwise costs us a
couple of instructions?