[PATCH 6.1 066/105] platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources