diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-05-02 10:11:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-03 14:11:15 -0700 |
commit | 48f2c1aecfbcfe5ab4b2a003dee1a469e7c32214 (patch) | |
tree | cbbbdb5c5c4b43d0313619655babc89f24da0ec2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5b329305d252834fa2a40fcb318743bcc18c8a98 (diff) | |
download | linux-48f2c1aecfbcfe5ab4b2a003dee1a469e7c32214.tar.gz linux-48f2c1aecfbcfe5ab4b2a003dee1a469e7c32214.tar.bz2 linux-48f2c1aecfbcfe5ab4b2a003dee1a469e7c32214.zip |
staging: comedi: mite: do mite_steup() as part of mite_attach()
Currently all the drivers that use the mite driver have to call
mite_setup() after allocating and initializing the mite device
with mite_attach().
Move the mite_setup() call into mite_attach() to simplify the
drivers a bit and remove the need for the additional inline and
exported functions.
For aesthetics, move mite_setup2(), and rename it to mite_setup(),
so it's near mite_attach().
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions