> On Fri, Feb 21, 2014 at 1:14 AM, fugang.duan@xxxxxxxxxxxxx > <fugang.duan@xxxxxxxxxxxxx> wrote: >> >> Agree, it is redundant. And if you have free time, you can convert >> the driver to support devicetree. > > Please check with Nick Dyer before you convert this driver to support > devicetree. Much of the platform data this driver uses has been > eliminated or consolidated in a patch series that he's been working > on. If you look at the "improve T19 GPIO keys handling" patch in the patch set I posted to linux-input on 17th March, this redundant NULL test has been removed. I want to remove most of the existing platform data since it is not generic across all chips - see "remove unnecessary platform data" and "read screen config from chip" in that series of patches. It's high priority on my list to implement device tree support for the remaining items, which will be just irqflags and the touchpad key config. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html