Ports: Rename the 'fromXYZPort' to 'fromPort' since it's redundant
[sifive-blocks.git] / src / main / scala / devices / gpio / GPIOPins.scala
index 11723c4d1a6a0b8a985694d2795521dc25b0367e..de086bf9f5dbd94d83fbc672c26d1c33ad2ae082 100644 (file)
@@ -16,7 +16,7 @@ class GPIOPins[T <: Pin] (pingen: ()=> T,  c: GPIOParams) extends Bundle {
   override def cloneType: this.type =
     this.getClass.getConstructors.head.newInstance(pingen, c).asInstanceOf[this.type]
 
-  def fromGPIOPort(port: GPIOPortIO){
+  def fromPort(port: GPIOPortIO){
 
     // This will just match up the components of the Bundle that
     // exist in both.