Simplify fpi_ssm
We should be able to pass the user_data once, to fpi_ssm_new()
, and have it passed around to each callback, rather than needing to use fpi_ssm_set_user_data()
and fpi_ssm_get_user_data()
.
In all of our uses, the user data that's set is the fp_dev
, fp_img_dev
or the driver-specific struct. There's definite cleanup opportunities here.