From: Pavan Savoy Date: Thu, 8 Jul 2010 13:55:17 +0000 (-0500) Subject: Staging: ti-st: remove global references X-Git-Tag: v2.6.36-rc1~520^2~1^2~281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d9df499dd3125465cf5aed3d3d6d5c26f0645d;p=pandora-kernel.git Staging: ti-st: remove global references Providing a context which can be passed around the driver, the KIM's platform driver's struct device to be used to dev_set_drvdata and dev_get_drvdata. The ST core's data is passed around using tty's disc_data and in other cases the ST KIM's platform device is exposed from the board-XX.c which adds KIM platform device whose dev is used. Thereby remove the need for the global reference struct kim_data_s *kim_gdata; Signed-off-by: Pavan Savoy Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed