]> git.baikalelectronics.ru Git - kernel.git/commit
caif-hsi: Replace platform device with ops structure.
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 25 Jun 2012 07:49:42 +0000 (07:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:44:12 +0000 (16:44 -0700)
commit5bbf65699f9ae0705811d14284b2de3815994659
tree4ee155d06717be94581d404d04c7c6898d1fa360
parente5a4af4e64bc01e0a5b4bfa68b858c675ffbe233
caif-hsi: Replace platform device with ops structure.

Remove use of struct platform_device, and replace it with
struct cfhsi_ops. Updated variable names in the same
spirit:
cfhsi_get_dev to cfhsi_get_ops,
cfhsi->dev to cfhsi->ops and,
cfhsi->dev.drv to cfhsi->ops->cb_ops.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c
include/net/caif/caif_hsi.h