[PATCH 5.15 074/106] i2c: npcm7xx: Add check for platform_driver_register