[PATCH 5.15 328/511] media: i2c: ccs: Check rules is non-NULL