]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: sm7xx: merge hardware information in smtcfb_info struct
authorJavier M. Mellid <jmunhoz@igalia.com>
Thu, 26 Apr 2012 18:45:53 +0000 (20:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 01:31:49 +0000 (21:31 -0400)
commit9be467d5b7ef350ef50eddcccfb5ad69b2c19090
treed8a18721b9264e6bf0abb92c4020bde6f958e794
parent6f54b0948ad459fa9ffa22335aba2e2a86365b60
staging: sm7xx: merge hardware information in smtcfb_info struct

With this patch smtcfb_info becomes the main structure to reach/handle
state. fb_info struct links this struct via its private data field.

This change improves encapsulation in functions. It reduces the number
of arguments used in signatures too.

Tested with SM712

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xx/smtcfb.c