i2c: i2c-stm32f4: use generic definition of speed enum
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Thu, 14 Sep 2017 14:28:36 +0000 (16:28 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 14 Sep 2017 15:34:29 +0000 (17:34 +0200)
commitdf8c847b53539cc1b05cf3bd8f446194aedfeafc
tree04a9d53c94160b9e64597740e0f87387505b4652
parentedcd2ae8ebd4c6882f426e8430f28004ed22eb66
i2c: i2c-stm32f4: use generic definition of speed enum

This patch uses a more generic definition of speed enum for i2c-stm32f4
driver.

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Reviewed-by: Ludovic BARRE <ludovic.barre@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32.h [new file with mode: 0644]
drivers/i2c/busses/i2c-stm32f4.c