All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@ingics.com>
To: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	Olof Johansson <olof@lixom.net>
Subject: IIO: ak8975: Why adding OF compatible string without vendor prefix?
Date: Mon, 31 Aug 2015 12:41:34 +0800	[thread overview]
Message-ID: <1440996094.1500.1.camel@ingics.com> (raw)

Hi,
I just found the ak8975_of_match table has compatible string without vendor
prefix.

static const struct of_device_id ak8975_of_match[] = {
        { .compatible = "asahi-kasei,ak8975", },
        { .compatible = "ak8975", },
        { .compatible = "asahi-kasei,ak8963", },
        { .compatible = "ak8963", },
        { .compatible = "asahi-kasei,ak09911", },
        { .compatible = "ak09911", },
        { .compatible = "asahi-kasei,ak09912", },
        { .compatible = "ak09912", },
        {}
};

This seems unusual, just curious why below compatible strings are required?
        { .compatible = "ak8975", },
        { .compatible = "ak8963", },
        { .compatible = "ak09911", },
        { .compatible = "ak09912", },

Regards,
Axel

             reply	other threads:[~2015-08-31  4:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-31  4:41 Axel Lin [this message]
2015-08-31 15:05 ` IIO: ak8975: Why adding OF compatible string without vendor prefix? Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1440996094.1500.1.camel@ingics.com \
    --to=axel.lin@ingics.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=ldewangan@nvidia.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.