I squashed your changes into this patch, restored my indention style andsimplified error handling in mc13783_ts_probe to assign ret = -ENOMEM once at the start of the function instead of each error branch.

In the meantime the changes to mc13783-core are merged in Linus' tree,so it can go via your's.