summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-12-08 10:37:47 +0100
committerWolfram Sang <wsa@the-dreams.de>2015-12-14 10:51:08 +0100
commitf9c9d31bdd37970d2aaaac794d93691170008f5a (patch)
tree9619164721cd41d6c512c45769f82a9b4d33a07a /virt
parenti2c: add generic routine to parse DT for timing information (diff)
downloadlinux-f9c9d31bdd37970d2aaaac794d93691170008f5a.tar.xz
linux-f9c9d31bdd37970d2aaaac794d93691170008f5a.zip
i2c: rcar: refactor probe function a little
The probe function is a little bit messy, something here, something there. Rework it so that there is some order: first init the private structure, then the adapter, then do HW init. This also allows us to remove the device argument of the clock calculation function, because it now can be deduced from the private structure. Also, shorten some lines where possible. This is a preparation for further refactoring. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions