aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeordan Neukum <[email protected]>2019-05-26 01:18:31 +0000
committerGreg Kroah-Hartman <[email protected]>2019-05-30 14:04:26 -0700
commit091971897e84b518cc8902af1c70632930b1d2da (patch)
tree3c1ab6ded0cd529b6532911f214cf62d34a24747 /tools/perf/scripts/python
parent73d56b83910ac7c7afcaa7d7cb3c92c9b53fee1c (diff)
staging: kpc2000: kpc_i2c: Use drvdata instead of platform_data
The kpc_i2c driver stashes private state data in the platform_data member of its device structure. In general, the platform_data structure is used for passing data to the driver during probe() rather than as a storage area for runtime state data. Instead, use the drvdata member for all state info meant to be accessible in driver callbacks. Signed-off-by: Geordan Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions