Davinci: promote da8xx_pinmux_setup()

Rename da8xx_pinmux_setup() to davinci_cfg_reg_list() and promote it for use in
other SOCs that may need the ability to configure multiple pins in one shot.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
Cyril Chemparathy
2010-03-25 17:43:48 -04:00
committed by Kevin Hilman
parent 52958be3ad
commit 3821d10a53
5 changed files with 22 additions and 24 deletions

View File

@@ -21,7 +21,6 @@
#include <mach/mux.h>
#include <mach/common.h>
#include <mach/da8xx.h>
/*
* Sets the DAVINCI MUX register based on the table
@@ -92,7 +91,7 @@ int __init_or_module davinci_cfg_reg(const unsigned long index)
}
EXPORT_SYMBOL(davinci_cfg_reg);
int da8xx_pinmux_setup(const short pins[])
int __init_or_module davinci_cfg_reg_list(const short pins[])
{
int i, error = -EINVAL;