diff options
| author | Ohad Ben-Cohen <[email protected]> | 2012-02-13 20:47:49 +0000 |
|---|---|---|
| committer | Ohad Ben-Cohen <[email protected]> | 2012-03-06 17:14:44 +0000 |
| commit | 1e3e2c7c46b2e6e90f3a26ba9be6326c00ca31e4 (patch) | |
| tree | d859740dfb2402d361ddb1e4260c04eeeb1ff6fa /fs/jbd2/commit.c | |
| parent | remoteproc: remove the hardcoded vring alignment (diff) | |
| download | kernel-1e3e2c7c46b2e6e90f3a26ba9be6326c00ca31e4.tar.gz kernel-1e3e2c7c46b2e6e90f3a26ba9be6326c00ca31e4.zip | |
remoteproc: cleanup resource table parsing paths
rproc_handle_resources() looks for the resource table and then
invokes a resource handler function which it took as a parameter.
This works, but it's a bit unintuitive to follow.
Instead of passing around function pointers, this patch changes
rproc_handle_resource() to just find and return the resource table,
and then the calling sites of rproc_handle_resource() invoke their
resource handlers directly.
Signed-off-by: Ohad Ben-Cohen <[email protected]>
Cc: Brian Swetland <[email protected]>
Cc: Iliyan Malchev <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Mark Grosen <[email protected]>
Cc: John Williams <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Loic PALLARDY <[email protected]>
Cc: Ludovic BARRE <[email protected]>
Cc: Omar Ramirez Luna <[email protected]>
Cc: Guzman Lugo Fernando <[email protected]>
Cc: Anna Suman <[email protected]>
Cc: Clark Rob <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Saravana Kannan <[email protected]>
Cc: David Brown <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: Tony Lindgren <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
