That's a little harder - the platform device is the means by which thecamera and the core communicate. I guess I could add a general "I'm avia-core subdev and I'm here now" exported function in the core, butI'm not sure that would be better than just having the platform dev bethere.

But it definitely shouldn't be around if the camera is configured out.