diff options
author | Johan Hovold <johan@kernel.org> | 2014-12-11 00:52:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 02:41:13 +0100 |
commit | 4390ce002b02f3ddea2dcd1850a45b332dfd8792 (patch) | |
tree | 3b56995ed66dd996c066ecb2b49a0f036a6e3e02 /include/crypto/md5.h | |
parent | rtc: omap: clean up probe error handling (diff) | |
download | linux-4390ce002b02f3ddea2dcd1850a45b332dfd8792.tar.xz linux-4390ce002b02f3ddea2dcd1850a45b332dfd8792.zip |
rtc: omap: fix class-device registration
Make sure not to register the class device until after the device has
been configured.
Currently, the device is not fully configured (e.g. 24-hour mode) when
the class device is registered, something which involves driver
callbacks for example to read the current time.
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Benot Cousson <bcousson@baylibre.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Keerthy J <j-keerthy@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/crypto/md5.h')
0 files changed, 0 insertions, 0 deletions