OSDN Git Service

can: flexcan: rename feature into quirks
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 8 May 2015 13:22:36 +0000 (15:22 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2015 06:38:22 +0000 (08:38 +0200)
commitf377bff0235708ded5f94e581855d6bd678cd2d1
tree774cda8108112b637350f922a6911581d03d84dc
parent749de6fce2dd67b40f4118bf694be37f9093c3f5
can: flexcan: rename feature into quirks

This patch renames the "features" member of struct flexcan_devtype_data to
"quirks". The corresponding defines are renamed too, to reflect what they
actually do.

    FLEXCAN_HAS_V10_FEATURES      -> FLEXCAN_QUIRK_DISABLE_RXFG
    FLEXCAN_HAS_BROKEN_ERR_STATE  -> FLEXCAN_QUIRK_BROKEN_ERR_STATE
    FLEXCAN_HAS_MECR_FEATURES     -> FLEXCAN_QUIRK_DISABLE_MECR

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c