drivers/rtc/rtc-em3027.c: add device tree support
authorPeter Robinson <pbrobinson@gmail.com>
Thu, 16 Apr 2015 19:45:07 +0000 (12:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:59 +0000 (09:03 -0400)
commite706974dc3e2f44891e736f4a96eb88b60356178
treed5978c1161907a4d5d7ac7523d0d3deaacd3845c
parent7f48b21bdfede2c06e966258317a3bb4be3e4f25
drivers/rtc/rtc-em3027.c: add device tree support

Set the of_match_table for this driver so that devices can be described in
the device tree.  This device is used in the Trimslice and is already
defined in the Trimslice device tree.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-em3027.c